Enter Certificate lifespan
as number of valid days



Self-Signed Guide:

Set Up a Valid SSL Certificate Locally


To enable SSL for local development, follow these steps to configure the server and ensure your browser trusts the certificates.


1. SSL Certificates

You will need the following SSL certificate files:

  • server.key - The private key used by your local server.
  • server.crt - The public certificate for your local server.
  • browser.crt - A certificate that needs to be imported into your browser to trust the local SSL connection and avoid security warnings.

2. Configuring the Local Server

To use SSL locally, configure your local server to use server.key and server.crt for secure communication. This setup ensures your server runs over https:// instead of http://.

You will typically do this by specifying the paths to these certificate files in your server configuration. Depending on the server technology (Apache, Nginx, etc.) or framework you are using, the method to apply SSL certificates may vary. Check your server’s documentation for how to enable SSL.


3. Import browser.crt into Your Browser

Since you are using self-signed certificates for local development, most browsers will flag the connection as insecure unless you manually trust the browser.crt.


Steps for importing the certificate:
  • In Chrome: Go to Settings > Privacy and security > Security > Manage certificates > (Authorities Tab) Import.
  • In Firefox: Navigate to Preferences > Privacy & Security > View Certificates > Authorities > Import.
  • For other browsers, follow their respective certificate import instructions.