【发布时间】:2021-02-09 08:55:30
【问题描述】:
我能够使用带有 SSL 的 Spring Boot 的 REST WebService,就像这里解释的那样:
https://medium.com/quick-code/spring-boot-how-to-secure-rest-api-with-https-54ec8f0e4796
但本文展示了如何生成自签名证书:
keytool -genkey -keyalg RSA -alias tutorial -keystore tutorial.jks -storepass password -validity 365 -keysize 4096 -storetype pkcs12
现在我有一个 CA 的证书,我有 3 个文件:
private.key
certificate.crt
ca_bundle.crt
如何配置服务以使用此 SSL 证书,而不是使用自签名证书?
任何帮助/建议将不胜感激
【问题讨论】:
标签: spring-boot ssl