Enable SSL (HTTPS) in spring rest Api [closed]
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
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.
add a comment |
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
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
add a comment |
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
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
java spring rest spring-boot ssl
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
- Get a certificate or create one.
Enable it:
server.ssl.key-store: keystore.p12
server.ssl.key-store-password: mypassword
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: tomcat
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
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
- Get a certificate or create one.
Enable it:
server.ssl.key-store: keystore.p12
server.ssl.key-store-password: mypassword
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: tomcat
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
add a comment |
- Get a certificate or create one.
Enable it:
server.ssl.key-store: keystore.p12
server.ssl.key-store-password: mypassword
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: tomcat
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
add a comment |
- Get a certificate or create one.
Enable it:
server.ssl.key-store: keystore.p12
server.ssl.key-store-password: mypassword
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: tomcat
- Get a certificate or create one.
Enable it:
server.ssl.key-store: keystore.p12
server.ssl.key-store-password: mypassword
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: tomcat
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
add a comment |
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
add a comment |
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