参考1:
https://kb.eway-crm.com/en/faq-1/server/how-to-create-self-signed-certificate-on-local-ip-address
参考2:
$params = @{
Subject = 'localhost'
TextExtension = @('2.5.29.17={text}DNS=localhost&IPAddress=127.0.0.1&IPAddress=::1')
}
New-SelfSignedCertificate @params
参考3:Java クライアントで指定方法
https://docs.redhat.com/ja/documentation/red_hat_enterprise_mrg/3/html/messaging_installation_and_configuration_guide/enable_ssl_in_java_clients
-Djavax.net.ssl.trustStore=/home/bob/ssl_test/certstore.jks
-Djavax.net.ssl.trustStorePassword=password
-Djavax.net.ssl.keyStore=/home/bob/ssl_test/keystore.jks
-Djavax.net.ssl.keyStorePassword=password
-Djavax.net.ssl.trustStore=/home/bob/ssl_test/certstore.jks
-Djavax.net.ssl.trustStorePassword=password
参考4:SSLContextを使ってSSLの有効期限を取得する
https://tech.kurojica.com/archives/4718/