Using a single certificate based on aliases from Java Key Store

后端 未结 1 554
遇见更好的自我
遇见更好的自我 2021-01-13 05:49

I have a keystore which has multiple keys and certificates added to it I want to used a certificate based on the aliases from the key store and use it for SSL I tried to set

相关标签:
1条回答
  • 2021-01-13 06:20

    If you look at the Customization section of the JSSE Reference Guide (or the entire guide), there's no javax.net.ssl.keyAlias or javax.net.ssl.keyStoreAlias property.

    It's up to the application to have a way to select which certificate it wants, using its alias name, but it has to load it explicitly itself. Some frameworks use their own properties or configuration options.

    0 讨论(0)
提交回复
热议问题