SSL Certificate inclusion in spring boot application with embedded server

Hi Nummer378, Thanks for the Interest. For your Information I have generated the certificate for the certbot using command certbot certonly --standalone and after we have converted the certificate from PEM to PKCS12 format.
After that we have copied the certificate to main/src/resources/certificate.p12 and then entered the required configuration to our application.properties file with the following commands.

server.port: 8443
security.require-ssl=true
server.ssl.key-store:classpath:certificate.p12
server.ssl.key-store-password:
server.ssl.keyStoreType: PKCS12

After all, we tried to launch our application, and it throws these exceptions.

1 Like