Advertisement

Spring Boot - Enable & Configure SSL (HTTPS) certificate in App - PKCS12|JKS | Digicerts|Self Signed

Spring Boot - Enable & Configure SSL (HTTPS) certificate in App - PKCS12|JKS | Digicerts|Self Signed Configure your Self Signed SSL- HTTPS Certificate or issuing production graded certificate like DigiCert in Your Spring Boot Application.
You can Configure various type of truststore. Like - JKS / PKCS12 format

if you like my video, please subscribe to my channel and share the video

1. Generate Self-signed certificate
Command : keytool -genkeypair -alias techtalkdebu -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore techtalkdebu.p12 -validity 3650
For this reference Video Link :
2. Copy this certificate and put in src/main/resources location
3. Put this configuration in the application.properties file with proper details

server.port: 8443
server.ssl.enabled=true
server.ssl.key-store: classpath:keystore.p12
server.ssl.key-store-password: mypassword of this certificate
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: alias name of the certificate
4. Start the Application and see the URL is HTTPS enabled

Follow me on FaceBook:
Instagram: techtalk_debu
and LinkedIn:

Thanks & Regards,
Debu Paul

Spring Boot Application,SSL,Configure SSL,Enable SSL,Self-signed SSL,digiscerts,CA authority,PKCS12,JKS,trustStore,Enable HTTPS,Secure Rest API,Enable https in Websites,Enable SSL in production,Configure SSL in Production,Java,Maven,Spring,Spring MVC,Spring Boot,Core,Core Java,Advance Java,

Post a Comment

0 Comments