Home

Create your own self signed SSL certificate


Terminology
Before moving further, let’s understand what specific terms such as SSL or TLS means.
SSL – stands for Secure Sockets Layer. It is the industry standard protocol for keeping an internet connection secure by safeguarding all sensitive data that is being sent between two systems, preventing hackers from reading and modifying any information transferred.
TLS – (Transport Layer Security) is an updated, more secure, version of SSL. It adds more features. Today, certificates provided by certificate authorities are based on TLS only. But regarding secured communication over network, the term SSL is still common as it is the old and just become popular among community.
HTTPS – (Hyper Text Transfer Protocol Secure) appears in the URL when a website is secured by an SSL certificate. It is the secured version of HTTP protocol.
Truststore and Keystore – Those are used to store SSL certificates in Java but there is little difference between them. truststore is used to store public certificates while keystore is used to store private certificates of client or server.
Create your own self signed SSL certificate
To get SSL digital certificate for our application we have two options –
1.      to create a self-signed certificate
2.      to obtain SSL certificate from certification authority(CA) we call it CA certificate.
For today’s demo purpose we will create self-signed certificate generated by java keytool command. We need to run the keytool -genkey command from command prompt.
Here is the exact command we will use –

Comments

Post a Comment