SSL Configuration for java Application

55 views Asked by At

I have my Java Springboot Application with SSL certification and whenever i am trying to run the code its showing me "Caused by: java.io.IOException: Alias name [embel] does not identify a key entry" and when i tried accessing it with the "keytool -list -v -keystore amr.p12" its showing me the right information like below " Your keystore contains 1 entry

Alias name: embel Creation date: 02-Jan-2024 Entry type: trustedCertEntry "

My application.properties looks like

##ssl-certification 
server.ssl.key-store=classpath:amr.p12
server.ssl.key-alias=embel
server.ssl.key-store-password=123456
server.ssl.keyStoreType=PKCS12


## Disable HTTP and force HTTPS
server.http2.enabled=false
server.ssl.enabled=true
0

There are 0 answers