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

ความคิดเห็น • 12

  • @vladimiralekhin2316
    @vladimiralekhin2316 ปีที่แล้ว

    Thx! It was useful for me.

  • @melanievillalobos4007
    @melanievillalobos4007 หลายเดือนก่อน

    thanks ! so helpful 👋👋

  • @eykalgzr
    @eykalgzr ปีที่แล้ว

    👍

  • @madhand6045
    @madhand6045 11 หลายเดือนก่อน

    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

    • @vladsavecoding4111
      @vladsavecoding4111  11 หลายเดือนก่อน

      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

    • @madhan5407
      @madhan5407 11 หลายเดือนก่อน

      @@vladsavecoding4111 thanks dude I will try

  • @kozin.l
    @kozin.l 2 หลายเดือนก่อน

    How can this be achieve this using jar instad of docker? anyone knows?

    • @vladsavecoding4111
      @vladsavecoding4111  2 หลายเดือนก่อน

      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

  • @errorgrisha
    @errorgrisha ปีที่แล้ว

    So, because of you transform to p12 format you have to do it every 6 months, am I right?

    • @vladsavecoding4111
      @vladsavecoding4111  ปีที่แล้ว +1

      Correct. You can add a cron job that does it also

    • @errorgrisha
      @errorgrisha ปีที่แล้ว

      @@vladsavecoding4111 😥

    • @mrcortadito
      @mrcortadito 10 หลายเดือนก่อน

      But that would mean that you need to keep the other VM running correct? The lamp-stack-1-vm, that is .. @@vladsavecoding4111