Java Client certificates ======================== === Truststore file A list of available certificates is recorded in ---- truststore.ts ---- The authentication parameter is given in the main shell script : ---- StreamClientLauncher.sh ---- === List available certificates ---- $ keytool -list -keystore truststore.ts -storepass xxxxx Type de fichier de clés : jks Fournisseur de fichier de clés : SUN Votre fichier de clés d'accès contient 2 entrées tomcat, 5 avr. 2019, trustedCertEntry, Empreinte du certificat (SHA1) : E7:60:C3:C9:56:23:20:9F:C1:91:2C:FC:13:E0:7D:95:49:F8:F0:AD mmaasweb02.esoc.ops.esa.int, 13 juil. 2020, trustedCertEntry, Empreinte du certificat (SHA1) : 58:99:8A:E6:E0:F5:0E:AC:B5:D6:53:EE:9C:C1:A5:84:9D:D4:5A:D2 ---- === Get certificates from website ---- $ openssl s_client -showcerts -connect mmaasweb01.esoc.ops.esa.int:8443 ---- Will display a list of certificates. Copy/paste the first one, including "BEGIN CERTIFICATE" to "END CERTIFICATE" into a text file. mmaasweb02.crt === Add certificate to truststore ---- $ keytool -keystore truststore.ts -import -alias mmaasweb02 -file mmasweb02.crt ---- Try to connect to mmaasweb02.esoc.ops.esa.int:8443 using the java client