使用GoDaddy SSL憑證啟用Spring Boot HTTPS

雲林西螺 西螺大橋下

為什麼要寫這篇文章?不是就一個憑證?

來安裝憑證吧!

$ keytool -genkey -alias <domain> -keyalg RSA -keystore <keystore.jks> -keysize 2048
$ keytool -certreq -alias <domain> -keystore <keystore.jks> -file <domain.csr> 
$ cat domain.csr
$ keytool -import -trustcacerts -alias intermediate -file <intermediate.crt> -keystore <keystore.jks>
$ keytool -import -trustcacerts -alias <domain> -file <domain.crt> -keystore <keystore.jks>
$ keytool -importkeystore -srckeystore <keystore.jks> -destkeystore <keystore.p12> -srcstoretype JKS -deststoretype PKCS12 -deststorepass <password> -srcalias <domain> -destalias <domain>
P12憑證
application.yml設定啟用SSL

感想

Shares Android development and Kotlin programming.

Shares Android development and Kotlin programming.