I am trying to start the Spring-Boot server, which provides some security over SSL. I followed steps 1 and 2 of this guide to get a self-signed certificate and access my site through https. application.propertiesas follows:
server.port=8443
server.ssl.keyStore=classpath:keystore.p12
server.ssl.keyStorePassword=youd_want_to_know
server.ssl.keyStoreType=PKCS12
server.ssl.keyAlias=hs
keystore.p12 was generated using
$ keytool -genkey -alias hs -storetype PKCS12 \
-keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650
With the exception of the password, I did not enter anything, all the fields are "Unknown".
However, the browser lock is not green. The detailed message says
There are problems in the site’s certificate chain (net :: ERR_CERT_AUTHORITY_INVALID).
A plus:
Secure TLS
Connection Connecting to this site uses a strong protocol version and cipher suite.
Safe Resources
All resources on this page are protected securely.
, , , , . , ( ).
, , , ? , ? , , Sprint-Boot?