Snippets tagged “tls”
5 snippets use this tag.
- Accept server's self-signed ssl certificate in Java clientJava
To accept a server's self-signed SSL certificate in a Java client, you can create a custom javax.net.ssl.X509TrustManager and use it to override the default trust manager.
- Error - trustAnchors parameter must be non-emptyJava
The trustAnchors parameter must be non-empty error typically occurs when you are trying to create an instance of the SSLContext class in Java and you pass an empty trust store as the trustAnchors parameter.
- How to import an existing X.509 certificate and private key in Java keystore to use in SSL?Java
To import an existing X.509 certificate and private key into a Java keystore, you can use the keytool utility that is included with the Java Development Kit (JDK).
- SSL and cert keystoreJava
An SSL (Secure Sockets Layer) keystore is a storage location for SSL certificates, which are used to establish secure, encrypted connections between a client and a server. The keystore is typically managed by a keystore manager, such as the Java Keytool,
- Use cURL with SNI (Server Name Indication)PHP
Server Name Indication (SNI) is an extension to the Transport Layer Security (TLS) protocol that allows a client to specify the hostname it is trying to connect to at the start of the handshaking process.