Hi, sorry to bug this list again, but I seems I cannot solve this issue on my own. It is probably some SSL/TLS or network issue.
My findings so far:
I have two sites A and B, both run on apache, use SSL and have the same type of certificate from the same CA. There are no issues when connecting to any of the sites with different web browsers, the certificates are simply accepted.
In order to connect to these sites with the Vert.x http client I set the port to 443, set ssl to true and trustAll also to true.
Connecting to site A works as expected. The Wireshark log shows that the client sends a SSL "Client Hello", the server then responds with a "Server Hello", in a new data transfer the certificate is sent from server to client and afterwards the TLS handshake starts.
Connecting t site B always fails with a SSLHandshakeException. Here the client also starts the conversation with a SSL "Client Hello", but then the server sends the message "Server Hello, Certificate, Server Hello Done" in one go. After that the Client responds with "Alert(Level: Fatal, Description: Certificate unknown)" and the conversation ends.
The same happens when I do not rely on trustAll set to true, but create my own trust store.
I am really lost (and need to connect to site B for my project) and unsure, because I can not find a pattern why some sites work while others do not! Does anybody have an idea?
Matthias