How to Enable or Configure SSL (HTTPS) certificate in Spring boot Application | PKCS12 - Self Signed

preview_player
Показать описание
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
2. Copy this certificate and put in src/main/resources location

4. Start the Application and see the URL is HTTPS enabled

Instagram: techtalk_debu

Thanks & Regards,
Debu Paul
Рекомендации по теме
Комментарии
Автор

When I am packaging jar and running, jar is unable to find of keystore, please guid how to package a jar to work correctly.

ManojKumar-yqwi
Автор

Hi Sir
- browser will contain list of CA public key so it verify all server public certificates.
- incase of self signed how browser will verify of server public certificate.
My question is how browser will verify self signed certificate or please explain flow between browser and server in case of self signed certificate

arunbandari
Автор

how to configure multiple certificates which are added in classpath to properties file ? Eg: I have ABC.p12, XYZ.p12, MNO.p12 files are added in the project and wanted to configure in properties fil.

SaiChaitanyaRamisetty
Автор

After configuring SSL, the REST API call is stop working, can you please help me on this?

Mukeshism
Автор

Cool video
How to import a certificate for a rest client?

I want to call api from other server with https but got `cant validate certificate`
I assume, i need import the certificate but i cant find the right way to do that

alexanderkevin
Автор

I am getting parseAlgParameter failed...so what is the solution for this

gautamithakur