Skip to main content

Posts

Showing posts from October, 2022

What Is SSL Certificate and how it works?

Deep Dive into SSL Certificate What Is an SSL Certificate? SSL (Secure Sockets Layer) is the common name for TLS (Transport Layer Security), a security protocol that enables encrypted communications between two machines. An SSL certificate is a small data file leveraging this security protocol to serve two functions: Authentication – SSL certificates serve as credentials to authenticate the identity of a website. They are issued to a specific domain name and web server after a Certificate Authority, also known as a Certification Authority (CA), performs a strict vetting process on the organization requesting the certificate. Depending on the certificate type, it can provide information about a business or website's identity and authenticate that the website is a legitimate business. Secure data communication - When SSL is installed on a web server, it enables the padlock to appear in the web browser. It activates the HTTPS protocol and creates a secure connection between th

How to configure SSL certificate in spring boot?

Let us learn how to generate & configure the ssl certificates in spring boot applications. Step 1. Getting the certificate  We can purchase the SSL certificate from the following SSL providers   Godaddy DigiCert GeoTrust GlobalSign Comodo SSL RapidSSL SSL.com OR, for testing purposes, we can generate a self-signed certificate Before getting started, let us know the format of the SSL certificates: PKCS12:  Public Key Cryptographic Standards is a password-protected format that can contain multiple certificates and keys; it's an industry-wide used format. JKS:  Java KeyStore  is similar to PKCS12; it's a proprietary format and is limited to the Java environment. To know more about how SSL works please go to this link . We can use either keytool or OpenSSL tools to generate the certificates from the command line. Keytool  is shipped with Java Runtime Environment, and OpenSSL can be downloaded from  here . For our demonstration, let's use keytool. keyt