DEV Community

Discussion on: Full Stack Reddit Clone - Spring Boot, React, Electron App - Part 4

Collapse
 
lornmalvo profile image
LornMalvo

hello !

At the end when I try to connect I have the error:

"An exception occurred while retrieving the public key"

Any idea ?
Thanks

Collapse
 
maxicb profile image
MaxiCB

Hello!
It seems that the project cannot load the private key in the security package. Check to make sure that the alias and password parameters are the same ones used when generating the key. These parameters are used throughout the JWTProvider class created in step 6