It's easy to get the ssl certificate of HTTPS port (443 by default)
But how about ssl on tcp port?
Live example:
205.185.198.226:1194
This is vpn (openvpn server) running on port 1194
IP 205.185.198.226 using ssl/tls on port 1194 to proccess client authentication methods based on certificates
As Steffen Ullrich Said:
OpenVPN is not plain SS but it packs the SSL stream inside their own protocol, see https://openvpn.net/index.php/open-source/documentation/security-overview.html Thus you have to speak the encapsulation protocol before you get to the TLS stream which then includes the certificate.
So, Does it really possible to get the ssl certificate of the openvpn server on the tcp port? Any example code? (PHP, C or Perl)