HTTP to HTTPS using SSL and SpringBoot | Java Techie

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

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

  • @programmingl5337
    @programmingl5337 วันที่ผ่านมา +1

    For people who will watch this: This is self signed ssl, not CA certificate, but still it's good to know how self signed ssl works just in case

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

    It helped me a lot today, Thanks for your such a great contribution.

  • @HemaLatha-dz4xr
    @HemaLatha-dz4xr 2 ปีที่แล้ว +6

    Hi @javatechie can you please do video on how to consume ssl spring boot application using resttemplate or webclient without getting asl handshake exception

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

      Okay i will

    • @Coders_World
      @Coders_World 8 วันที่ผ่านมา

      We need to set sslContext in webclient Configuration.

  • @sreekanthreddy7333
    @sreekanthreddy7333 6 ปีที่แล้ว +3

    Learned one more point from you. Thanks bro

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

    Hi Sir , Great explanation. Can you create one video how microservices communicates with each other if each one protected with different certificates ?

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

    Great tutorial! How can you use a frontend that consumes the backend's https endpoints?

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

    how to verify other service trust calls while using the trust key or trust store.

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

    Nice Explanation Sir Keep it up

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

    This works so well, thanks as always JavaTechie 😉

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

    please create another video where you are creating the web client Microservice with creative web client and consuming the secure api

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

    but still shows not secure, it should be secure because you are using https?

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Yes but we are just creating a certificate by using the keystore . We need to do same on some VM

    • @oguzhan2393
      @oguzhan2393 2 ปีที่แล้ว

      @@Javatechie how can I add it to the vm. I add certificate to my website. But when I make a rest request it says that ERR_CERT_INVALID

    • @DevMaster947
      @DevMaster947 2 ปีที่แล้ว

      Yes, even though server.servlet.session.cookie.secure=true and along server.ssl.* are set, in browser it is still showing secure flag set to false? I have checked both http and https way but no luck. I even tried enabling this secure to true by webfilter way but still not working
      @Java Techie - do you have any suggestions ?

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

    Thank you very much! Its really useful

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

    Is there a way to fix SSL error not secure show in the browser?

  • @YantrikiThepowerofMachinesPune
    @YantrikiThepowerofMachinesPune 2 ปีที่แล้ว

    in my case , it is not running on the yml port no ,its running on default port 8080, any help

    • @kynjribajwatmarbaniang8659
      @kynjribajwatmarbaniang8659 2 ปีที่แล้ว

      try to configure everything in application .properties
      instead of yml

    • @YantrikiThepowerofMachinesPune
      @YantrikiThepowerofMachinesPune 2 ปีที่แล้ว

      @@kynjribajwatmarbaniang8659 I tried the same as you suggested and only used application.properties but it says password verification failed ,keystore was tempered ,web server startstop

  • @RO_BOMan
    @RO_BOMan 3 ปีที่แล้ว

    I am getting " class path resource cant not be resolved to url because it doesn't exists" .
    I saved the keystore values in c:users:kl47*****
    Copied and pasted that in resources:template
    Why i am getting this error??

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

    Thank you so much! This is amazing!

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

    Hi Basant.Could you pls make video with external tomcat server

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Already uploaded please check th-cam.com/video/9nDSeIyWTAc/w-d-xo.html

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

    I have website where I want to access my spring boot APIs. The website has its own SSL certificate, do I need to provide the same certificate to spring boot or create a new one

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

      Yes but I am not sure about the approach please ask in my facebook group link mentioned in video description

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

    How to secure Rest client and how match SSL certificate client and resources could you give clarify

    • @Javatechie
      @Javatechie  5 ปีที่แล้ว

      Client side I never tried @anoop , will check and let you know ok

  • @anurag-sachan
    @anurag-sachan ปีที่แล้ว +1

    9:48 , ERROR : Private key must be accompanied by certificate chain, SOLUTION: server.ssl.key-store-password=password

  • @voithia2594
    @voithia2594 6 ปีที่แล้ว

    Helpful video sir. Thank you :)

  • @arpit-jain
    @arpit-jain ปีที่แล้ว +2

    Followed your given steps, it's working.
    If anyone faces 'password incorrect' issue, change property to server.ssl.key-store-password (from key-password).
    Can you also show how to do this with .pem file as well?

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

    if i upload this application in ec2 will https work there? or i will have to do any other configuration in ec2?

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

      I will check and update

  • @cash22-x1j
    @cash22-x1j ปีที่แล้ว

    Thank you very much friend!!!

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

    did it work for you? i am getting password verification failed even after entering right password

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว

      Check your LDAP file

  • @rakesh2233
    @rakesh2233 3 ปีที่แล้ว

    hii is there any other way to acheive https in spring boot, rather using java keystore approach ?
    Thanks..

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

    Nice

  • @gourabgoswami8798
    @gourabgoswami8798 4 ปีที่แล้ว

    Hi,
    Can you create one video how microservices communicates with each other if each one protected with different certificates ?

  • @venkatmaharajan4768
    @venkatmaharajan4768 4 ปีที่แล้ว

    This is for redirect from http to https. What if the certificate expired and if I access application via http, will it work??

  • @arsenazaryan5157
    @arsenazaryan5157 หลายเดือนก่อน +1

    Thank you)!!

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

    How to send the authentication credentials to the SoapService via the client ?

    • @Javatechie
      @Javatechie  5 ปีที่แล้ว

      We need to pass as part of request header

  • @gowtham4383
    @gowtham4383 8 หลายเดือนก่อน +1

    Thank you

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

    thank you my friend!

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

    Bro do a video on hw to consume https through resttemplate

    • @Javatechie
      @Javatechie  3 ปีที่แล้ว

      Okay that's good idea

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

      Looking for same bro

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

    Thank you :)

  • @sivaram2810
    @sivaram2810 3 ปีที่แล้ว

    L