Spring Boot: Install a free SSL certificate from Let's Encrypt
ฝัง
- เผยแพร่เมื่อ 20 ก.ค. 2024
- Ad: If you need help with a Spring Boot project, you can book a consultation with me. Fees and contact info are available on my channel page.
In this video we are going to install a free SSL certificate from Let's Encrypt into a Spring Boot application. I will be using Google Cloud for the deployment.
Commands, source code, URLs
github.com/titus58/youtube-tu...
Chapters:
00:00 Introduction
00:30 Deploy a Bitnami LAMP image in Google Cloud
05:29 Generate the SSL certificate
10:05 Convert the certificate to PKCS12 format
16:27 Generate a new Spring Boot project
18:45 Install the certificate in the Spring Boot project
21:20 Deploy the server to Google Cloud
Thx! It was useful for me.
thanks ! so helpful 👋👋
👍
Hi I need a help can you make a video on how to deploy fullstack springboot +react application on google cloud without using any certificates I'm searching whole internet can't find correct explanation
Good suggestion, maybe I'll do one in the future. In the meanwhile you can try to deploy the Spring part and the React app as two separate VMs. I have a video called "deploy node+react (mern) app to AWS lightsail". You need to follow the React part of the video. Although it's using AWS lights you can find that exact image in the GCE marketplace
@@vladsavecoding4111 thanks dude I will try
How can this be achieve this using jar instad of docker? anyone knows?
You use the bootJar task, but then you will have to make the server run your jar at startup. Probably add it to systemd, I'm not sure
docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#packaging-executable.jars
So, because of you transform to p12 format you have to do it every 6 months, am I right?
Correct. You can add a cron job that does it also
@@vladsavecoding4111 😥
But that would mean that you need to keep the other VM running correct? The lamp-stack-1-vm, that is .. @@vladsavecoding4111