Skip to content

xiaocaoh/https-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

References

MISC

Command to import the Root certificate:

keytool -import -v -trustcacerts \
-alias gce-alias -file gce.cer \
-keystore cacerts.jks -keypass changeit \
-storepass changeit

Command to get the certificate from a HTTPS site:

openssl s_client -connect www.baidu.com:443 </dev/null 2>/dev/null | openssl x509 -outform DER > baidu.cer

About

Example of Java HTTPS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%