Configure HTTPS for Spring Boot application on localhost with self-signed certificate

preview_player
Показать описание
Secure connection is required standard nowadays. In this video, I'd like to share with you about how to enable SSL for a Spring Boot application using self-signed certificate, for the purpose of development on local computer (localhost).

In details, you will learn:
- Generate SSL self-signed certificate using Java keytool
- Enable HTTPS for a Spring Boot application
- Install self-signed certificate on local computer so your browser will trust the certificate
Рекомендации по теме
Комментарии
Автор

Exactly what I was looking for, thank you!

NickBunton
Автор

At last! A YouTube techie who is actually a domain expert. Thank you, sir. You’ve presented the most effective and informative tutorial on generating self-signed certs for Spring Boot applications. Keep up the good work!

baxter
Автор

This video is very very useful, thank you!!!

mssdbsr
Автор

Thank you for sharing. It was helpful to me.

kraisrioaun
Автор

Hi, can I use the same configuration/implementation for the reactive programming in WebFlux? Or for this reason the SSL implementation is different?

bohdankalika
Автор

Hi, 443 port is in use and when i am configuring 8443 or any other port than i am getting "The Tomcat connector configured to listen on port 8443 failed to start. The port may already be in use or the connector may be misconfigured."
I have set that as server.port in application.properties file. can you plz help me
8443 is not in use but still getting the above error

talentinfo
Автор

Thank you for very useful video.some questions:
1. Is src/main/resources secure for storing key store.p12 file?
2. If using javaFX as frontend how can configure ssl ?
3. If your spring boot application run on server, how will be the keystore and configuration?

hamidmohammadi
Автор

Whats the version of SSL? Is there any ways I can check. I suppose latest versions of SSL are called TLS ?
Please advise

saadmalikofficial
Автор

A very good video, it is very helpful! Just one question: I see that you were using SSL and I want to know if TLS is configured the same way, thank you!

KCTsangKen
Автор

I am always learning new stuffs from Nam! But is it possible to do this when the front end is built with ReactJS or once the front end is built with ReactJS I must do this with a JS backend framework ?

francksgenlecroyant
Автор

I already followed the steps. The certificate is there. But, chrome said it is still invalid. What should I do?

hendisantika
Автор

hi have followed same steps but when i copy to my project its always saying that it could not load classpath

marypaul
Автор

This was very windows specific. Second part would be very different on linux, rite ? :)

geosystems
Автор

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

Mukeshism
Автор

Nam you are realy the spring boot dude! Thx a lot dor this movie! Nice day!

brazo
Автор

Illegal option: –validity
keytool -genkeypair [OPTION]...
what can i do for that?

durmaztekeli
Автор

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

gautamithakur
Автор

Hello brother if our spring boot is https so when we deploy it still https or http please reply me thank u 🥰

rith-szjs
Автор

please guide to configure it in intellij, i am learning your spring boot course on udemy

thonghoangpham
Автор

i want to remove self-signed certificate, how do i ?

TranDucViet-iuto
visit shbcf.ru