Error on client request :Exceptionjavax.net.ssl.SSLHandshakeException: No subject alternative names matching IP address 172.19.91.103 found #651
-
Hello,
But facing issue :Exceptionjavax.net.ssl.SSLHandshakeException: No subject alternative names matching IP address 172.19.91.103 found |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
This is a TLS error due to the TLS certificate issued (by default) when using TLS setup simple. You should look what the TLS certificate have as hostname and you need to use that. |
Beta Was this translation helpful? Give feedback.
-
I could not see version V2 api or code to create/generate certificate. |
Beta Was this translation helpful? Give feedback.
See some java code in the documentation.
https://docs.keyfactor.com/ejbca/latest/cmp-client-support
It is not updated regularly, so this code may need to be modified for changes to the BC API. You can find test code among the EJBCA tests as well. https://github.com/Keyfactor/ejbca-ce/tree/main/modules/systemtests/src-test/org/ejbca/core/protocol/cmp