Enable SSL (HTTPS) in spring rest Api [closed]












-1















Hi I want to enable ssl in my spring rest application. That should be accessible by providing certificate only. How can I achieve this. It's new topic for me.










share|improve this question













closed as too broad by rustyx, cнŝdk, Rob, P.W, VDWWD Nov 16 '18 at 12:59


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 1





    Possible duplicate of Spring Boot - enable and configure SSL certificate

    – Sofo Gial
    Nov 16 '18 at 10:51











  • See X.509 Authentication in Spring Security. Your question is too broad for SO unfortunately. Try it first, and if it doesn't work, post your issue here.

    – rustyx
    Nov 16 '18 at 10:51


















-1















Hi I want to enable ssl in my spring rest application. That should be accessible by providing certificate only. How can I achieve this. It's new topic for me.










share|improve this question













closed as too broad by rustyx, cнŝdk, Rob, P.W, VDWWD Nov 16 '18 at 12:59


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 1





    Possible duplicate of Spring Boot - enable and configure SSL certificate

    – Sofo Gial
    Nov 16 '18 at 10:51











  • See X.509 Authentication in Spring Security. Your question is too broad for SO unfortunately. Try it first, and if it doesn't work, post your issue here.

    – rustyx
    Nov 16 '18 at 10:51
















-1












-1








-1








Hi I want to enable ssl in my spring rest application. That should be accessible by providing certificate only. How can I achieve this. It's new topic for me.










share|improve this question














Hi I want to enable ssl in my spring rest application. That should be accessible by providing certificate only. How can I achieve this. It's new topic for me.







java spring rest spring-boot ssl






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 16 '18 at 10:47









Lalit ThakareLalit Thakare

84




84




closed as too broad by rustyx, cнŝdk, Rob, P.W, VDWWD Nov 16 '18 at 12:59


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as too broad by rustyx, cнŝdk, Rob, P.W, VDWWD Nov 16 '18 at 12:59


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1





    Possible duplicate of Spring Boot - enable and configure SSL certificate

    – Sofo Gial
    Nov 16 '18 at 10:51











  • See X.509 Authentication in Spring Security. Your question is too broad for SO unfortunately. Try it first, and if it doesn't work, post your issue here.

    – rustyx
    Nov 16 '18 at 10:51
















  • 1





    Possible duplicate of Spring Boot - enable and configure SSL certificate

    – Sofo Gial
    Nov 16 '18 at 10:51











  • See X.509 Authentication in Spring Security. Your question is too broad for SO unfortunately. Try it first, and if it doesn't work, post your issue here.

    – rustyx
    Nov 16 '18 at 10:51










1




1





Possible duplicate of Spring Boot - enable and configure SSL certificate

– Sofo Gial
Nov 16 '18 at 10:51





Possible duplicate of Spring Boot - enable and configure SSL certificate

– Sofo Gial
Nov 16 '18 at 10:51













See X.509 Authentication in Spring Security. Your question is too broad for SO unfortunately. Try it first, and if it doesn't work, post your issue here.

– rustyx
Nov 16 '18 at 10:51







See X.509 Authentication in Spring Security. Your question is too broad for SO unfortunately. Try it first, and if it doesn't work, post your issue here.

– rustyx
Nov 16 '18 at 10:51














1 Answer
1






active

oldest

votes


















0















  1. Get a certificate or create one.


  2. Enable it:



    server.ssl.key-store: keystore.p12



    server.ssl.key-store-password: mypassword



    server.ssl.keyStoreType: PKCS12



    server.ssl.keyAlias: tomcat








share|improve this answer
























  • Is there any requirement that only private entry should be there in certificate and my keystore type is jks

    – Lalit Thakare
    Nov 16 '18 at 11:13


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0















  1. Get a certificate or create one.


  2. Enable it:



    server.ssl.key-store: keystore.p12



    server.ssl.key-store-password: mypassword



    server.ssl.keyStoreType: PKCS12



    server.ssl.keyAlias: tomcat








share|improve this answer
























  • Is there any requirement that only private entry should be there in certificate and my keystore type is jks

    – Lalit Thakare
    Nov 16 '18 at 11:13
















0















  1. Get a certificate or create one.


  2. Enable it:



    server.ssl.key-store: keystore.p12



    server.ssl.key-store-password: mypassword



    server.ssl.keyStoreType: PKCS12



    server.ssl.keyAlias: tomcat








share|improve this answer
























  • Is there any requirement that only private entry should be there in certificate and my keystore type is jks

    – Lalit Thakare
    Nov 16 '18 at 11:13














0












0








0








  1. Get a certificate or create one.


  2. Enable it:



    server.ssl.key-store: keystore.p12



    server.ssl.key-store-password: mypassword



    server.ssl.keyStoreType: PKCS12



    server.ssl.keyAlias: tomcat








share|improve this answer














  1. Get a certificate or create one.


  2. Enable it:



    server.ssl.key-store: keystore.p12



    server.ssl.key-store-password: mypassword



    server.ssl.keyStoreType: PKCS12



    server.ssl.keyAlias: tomcat









share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 16 '18 at 10:53









K.KostadinovK.Kostadinov

863




863













  • Is there any requirement that only private entry should be there in certificate and my keystore type is jks

    – Lalit Thakare
    Nov 16 '18 at 11:13



















  • Is there any requirement that only private entry should be there in certificate and my keystore type is jks

    – Lalit Thakare
    Nov 16 '18 at 11:13

















Is there any requirement that only private entry should be there in certificate and my keystore type is jks

– Lalit Thakare
Nov 16 '18 at 11:13





Is there any requirement that only private entry should be there in certificate and my keystore type is jks

– Lalit Thakare
Nov 16 '18 at 11:13





Popular posts from this blog

Bressuire

Vorschmack

Quarantine