How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (2024)

We recommend consulting with your security team to determine if a self-signed certificate or a third-party trusted CA is right for your deployment. For an example on how to use a third-party certificate with Teramind, check out this article.

In this article we will show you how to generate your own authority certificates via OpenSSL for use with your Teramind On-Premise deployment.

If you are using a network with an Active Directory domains then use Windows Certificate Center instead. In an AD domain, network root certificate can be auto-deployed to all joined stations.

Step 1: Install and run OpenSSL

1. Download latest OpenSSL binaries (There are many websites which offer the binaries. Please do an online search to find one).

2. Run the OpenSSL in admin mode.

OpenSSL is a third-party product developed by the OpenSSL Project. Teramind isn’t associated with the OpenSSL organization or its affiliates and cannot be held responsible for its use. Please use the software at your own risk.

Step 2: Generate the root private key

Run the following command in the OpenSSL command line:

openssl genrsa -out rootCA.key 4096

Step 3: Create a self-signed certificate

Run the following command in the OpenSSL command line:

openssl req -x509 -new -nodes -key rootCA.key -sha512 -days 3650 -out rootCA.pem

You’ll be asked various questions (Country, State/Province, etc.). Answer them how you see fit. The important question to answer though is common-name:

Step 4: Install the root certificate on the workstation(s)

You will need to install the root certificate in the trusted certificate repositories of your workstations.

Internet Explorer / Google Chrome

Both IE and Chrome use system certificate store. You can install certificates for these browser from the Windows Certificate Manager:

How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (1)

1. Open Windows Certificate Manager (run certmgr.msc from the command prompt).

2. From the left panel (Certificates - Current User), select Trusted Root Certification Authorities > Certificates.

3. Right-click on Certificates and select All Tasks > Import. Then follow the on-screen instructions to import your certificate.

Firefox

Firefox has its own certificate repository. If you use Internet Explorer or Chrome as well as Firefox, you’ll have to install the root certificate in both the Windows repository and the Firefox repository.

How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (2)

1. Open Firefox and click the Menu icon.

2. Select Settings.

3. Select Privacy & Security from the left-panel.

4. Scroll down until you can see the Certificates section. Click the View Certificates button. A pop-up window will open:

How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (3)

5. Select the Authorities tab.

6. Click the import button and select your certificate. A confirmation dialogue box will open:

How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (4)

7. Enable the Trust this CA to identify websites option.

8. Click the OK button to import the certificate.

Safari (macOS)

1. Double-click the certificate file in Finder.

2. You will be asked to store the certificate in the Login Keychain or System Keychain. To make the certificate available to all users on the system, select the System Keychain. Otherwise, choose the Login Keychain.

3. In Keychain Access, select the System keychain.

4. Select the Root CA certificate you imported which will have a name matching the Common Name of the certificate.

5. Select File > Get Info and expand the Trust section.

6. Change Secure Sockets Layer (SSL) value to Always Trust.

7. When prompted, enter your Mac's admin password and click Update Settings.

Step 5: Create a private key

To create a private key (different from the root CA), run the following command:

openssl genrsa -out onsite.key 4096

Step 6: Generate the certificate signing request

Once the key is created, you’ll generate the certificate signing request. To do so, run the following command:

openssl req -new -nodes -key onsite.key -config csrconfig.txt -out onsite.csr

Here's a sample csrconfig.txt file you can use as a reference:

[ req ]
default_md = sha512
prompt = no
req_extensions = req_ext
distinguished_name = req_distinguished_name
[ req_distinguished_name ]
commonName = onsite.teramind.io
countryName = US
[ req_ext ]
subjectAltName = @alt_names
[ alt_names ]
DNS.0 = onsite.teramind.io
IP.0 = 192.168.0.1

Once that’s done, you’ll sign the CSR, which requires the CA root key. Run the following command to do so:

openssl x509 -req -in onsite.csr -days 3650 -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -extensions req_ext -out onsite.crt -extfile csrconfig.txt

Step 7: Upload the certificates to your Teramind server

Login to your Teramind dashboard and do the following:

How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (5)

1. Click the Gear icon near the top-right corner of the dashboard.

2. Click Settings.

3. Select the Security tab.

4. Under the Host section, in the HOSTNAME field, enter the common-name you used in the previous step (e.g., onsite.teramind.io).

5. Click the SAVE button.

6. Click Select file next to SELECT PRIVATE KEY and upload your onsite.key file.

7. Click Select file next to SELECT PUBLIC KEY and upload your onsite.crt file.

8. Click Select file next to SELECT ROOT CA KEY and upload your rootCA.pem file.

9. Click the VALIDATE KEYS button. If the certificate chain files are valid, the Dashboard will respond with: "Validation is successful. Click here to see details.", and the VALIDATE KEYS button will be replaced by a SAVE KEYS button:

How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (6)

10. Click the SAVE KEYS button to save the keys.

Related Articles

On-Premise Deployment GuideWhat is End-to-End Encryption (E2EE) and how to use it (On-Premise)How to use your own proxy certificate (On-Premise)How to add security updates to the underlying OS (Debian with apt) of your On-Premise serverHow to use 3rd party issued SSL certificates with GoDaddy
How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base (2024)

FAQs

How to generate your own / self-signed SSL certificates for use with an On-Premise deployments | Teramind Knowledge Base? ›

A self-signed TLS/SSL certificate is not signed by a publicly trusted certificate authority (CA) but instead by the developer or company that is responsible for the website; as they are not signed by a publicly trusted CA, they are usually considered unsafe for public applications and websites.

How to generate a self-signed SSL certificate? ›

Generation of a self-signed SSL certificate involves a simple 3-step procedure:
  1. STEP 1: Create the server private key. openssl genrsa -out cert.key 2048.
  2. STEP 2: Create the certificate signing request (CSR) openssl req -new -key cert.key -out cert.csr.
  3. STEP 3: Sign the certificate using the private key and CSR.

How to generate a self signed SSL certificate for an IP address on a standalone machine? ›

How to generate a self signed SSL certificate for Public IP...
  1. Download the suitable OpenSSL package by using the following link.
  2. Unzip the OpenSSL zip file on your machine.
  3. Download the following file on your local machine and open PowerShell from this location. ...
  4. Add your public IP in the above file like below.
Mar 1, 2024

How to create and use self signed SSL certificate for Dynamics NAV? ›

Configuring SSL to Secure the Connection to Microsoft Dynamics NAV Web Client
  1. On the Server Certificates page, choose Create Self-Signed Certificate.
  2. In the Specify Friendly Name dialog box, type a brief name for the certificate, and then choose the OK button.

How to generate SSL certificate from Active Directory? ›

Login to your web AD CS and click advanced certificate request option:
  1. Copy .csr content into Saved Request field, in the Certificate Template drop-down menu please choose Webserver and click Submit.
  2. Note: If there is no webserver template in drop-down menu, please review How to add Web Server template section.
Jan 9, 2024

How do I manually create an SSL certificate? ›

How to create a web server SSL certificate manually
  1. Creating an INF file to set the certificate properties. Use Notepad to modify the following sample INF file according to your needs. ...
  2. Compiling the INF file into a REQ file. ...
  3. Submitting the REQ file to the CA. ...
  4. Installing the certificate at the IIS or ISA computer.
Jan 24, 2020

How do I get my own SSL certificate? ›

How to Get an SSL Certificate
  1. Verify the website's information through ICANN Lookup.
  2. Generate the Certificate Signing Request (CSR).
  3. Submit the CSR to the Certificate authority to validate the domain.
  4. Install the certificate on the website.
Apr 8, 2024

How to Create self-signed SSL certificate using PowerShell? ›

Creating self-signed SSL certificates
  1. Open the PowerShell Console in admin mode.
  2. Use the cmdlet New-SelfSignedCertificate to create a self-signed certificate. Copy Code. Code. New-SelfSignedCertificate -DnsName "server.domain.test" -CertStoreLocation "cert:\LocalMachine\My"
  3. Optional: Copy the thumbprint for later use.
Jun 14, 2023

How do I Create a self-signed certificate for Ldaps? ›

This tutorial assumes you are using OpenSSL.
  1. Step 1: Create a Certificate Authority (CA) ...
  2. Step 2: Install the Certificate Authority (CA) ...
  3. Step 3: Create a Certificate Signing Request (CSR) ...
  4. Step 4: Sign the Certificate. ...
  5. Step 5: Accept the Certificate. ...
  6. Step 6: Install the Certificate. ...
  7. Step 7: Restart Active Directory.

How to generate a self-signed SSL certificate for an IP address IIS? ›

In IIS Manager, do the following to create a self-signed certificate:
  1. In the Connections pane, select your server in the tree view and double-click Server Certificates.
  2. In the Actions pane, click Create Self-Signed Certificate.
  3. Enter a user-friendly name for the new certificate and click OK.

How do I create a self signed SSL certificate in cPanel? ›

To create and install a self-signed SSL certificate, follow these steps:
  1. Log in to cPanel. ...
  2. Open the SSL/TLS tool: ...
  3. Under Private Keys (KEY), click Generate, view, upload, or delete your private keys. ...
  4. Under Generate a New Private Key, confirm that the Key Type is set to RSA, 2,048-bit.

Do self signed SSL Certificates work? ›

A self-signed TLS/SSL certificate is not signed by a publicly trusted certificate authority (CA) but instead by the developer or company that is responsible for the website; as they are not signed by a publicly trusted CA, they are usually considered unsafe for public applications and websites.

How to generate secure self signed server and client Certificates with OpenSSL? ›

The command line is simply choco install openssl .
  1. Create the Root Certification Authority (CA)
  2. Generate a Certificate Signing Request (CSR) – Server.
  3. Generate a Certificate Signing Request (CSR) – Client.
  4. Process a Certificate Signing Request (CSR) on the Root Certificate Authority (CA)

How is an SSL certificate generated? ›

To get a certificate, you must create a Certificate Signing Request (CSR) on your server. This process creates a private key and public key on your server. The CSR data file that you send to the SSL Certificate issuer (called a Certificate Authority or CA) contains the public key.

How to generate a self-signed certificate in Windows? ›

Using IIS
  1. From the top-level in IIS Manager, select “Server Certificates”;
  2. Then click the “Create” button on the right;
  3. This will create a self-signed certificate, valid for a year with a private key. It will only work for “localhost”.
Feb 11, 2024

Can we generate SSL certificate? ›

You can use the OpenSSL toolkit to generate a key file and Certificate Signing Request (CSR) which can then be used to obtain a signed SSL certificate. Note: Beginning in Tableau Server versions 2021.3.

Is SSL certificate self-signed? ›

A self-signed TLS/SSL certificate is not signed by a publicly trusted certificate authority (CA) but instead by the developer or company that is responsible for the website; as they are not signed by a publicly trusted CA, they are usually considered unsafe for public applications and websites.

How to generate a crt file? ›

However for testing purpose only you can generate a self-signed certificate.
  1. Generate a Certificate Signature Request (CSR): openssl req -key private. pem -new -out mycert. csr . This command generates a mycert. ...
  2. Self-sign that CSR: openssl x509 -signkey private. pem -in mycert. csr -req -days 365 -out mycert. pem .
Mar 13, 2023

How do I create a self-signed certificate for Ldaps? ›

This tutorial assumes you are using OpenSSL.
  1. Step 1: Create a Certificate Authority (CA) ...
  2. Step 2: Install the Certificate Authority (CA) ...
  3. Step 3: Create a Certificate Signing Request (CSR) ...
  4. Step 4: Sign the Certificate. ...
  5. Step 5: Accept the Certificate. ...
  6. Step 6: Install the Certificate. ...
  7. Step 7: Restart Active Directory.

How to create a self-signed SSL certificate for multiple domains? ›

Create a multiple domains (SAN) self-signed SSL certificate
  1. Part 1: Create a certificate signing request (CSR) Step 1: Create a private RSA key. ...
  2. Part 2: Create your own certificate authority (CA) certificate to self-sign the CSR. Step 1: Generate the CA key. ...
  3. Part 3: Verify the generated certificate with chrome and curl.
Aug 31, 2022

Top Articles
4 Things to Know About 457 Retirement-Savings Plans
5 times it makes sense to transfer American Express Membership Rewards to Delta SkyMiles - The Points Guy
Cranes For Sale in United States| IronPlanet
Lakers Game Summary
Asian Feels Login
Z-Track Injection | Definition and Patient Education
Crocodile Tears - Quest
Songkick Detroit
Palace Pizza Joplin
U.S. Nuclear Weapons Complex: Y-12 and Oak Ridge National Laboratory…
Red Heeler Dog Breed Info, Pictures, Facts, Puppy Price & FAQs
Ap Chem Unit 8 Progress Check Mcq
Https //Advanceautoparts.4Myrebate.com
Oppenheimer Showtimes Near Cinemark Denton
Craigslist Alabama Montgomery
Ivegore Machete Mutolation
Cnnfn.com Markets
10 Free Employee Handbook Templates in Word & ClickUp
2021 Lexus IS for sale - Richardson, TX - craigslist
[Birthday Column] Celebrating Sarada's Birthday on 3/31! Looking Back on the Successor to the Uchiha Legacy Who Dreams of Becoming Hokage! | NARUTO OFFICIAL SITE (NARUTO & BORUTO)
Concordia Apartment 34 Tarkov
Scout Shop Massapequa
Drift Boss 911
Scream Queens Parents Guide
Providence Medical Group-West Hills Primary Care
Hood County Buy Sell And Trade
Understanding Gestalt Principles: Definition and Examples
Sofia the baddie dog
Jayme's Upscale Resale Abilene Photos
4Oxfun
Tracking every 2024 Trade Deadline deal
Srjc.book Store
The Monitor Recent Obituaries: All Of The Monitor's Recent Obituaries
Franklin Villafuerte Osorio
Aid Office On 59Th Ashland
Pnc Bank Routing Number Cincinnati
Powerball lottery winning numbers for Saturday, September 7. $112 million jackpot
Trebuchet Gizmo Answer Key
Http://N14.Ultipro.com
Duff Tuff
When His Eyes Opened Chapter 2048
Gamestop Store Manager Pay
Levi Ackerman Tattoo Ideas
56X40X25Cm
Arch Aplin Iii Felony
Dyi Urban Dictionary
Willkommen an der Uni Würzburg | WueStart
The Cutest Photos of Enrique Iglesias and Anna Kournikova with Their Three Kids
Hello – Cornerstone Chapel
Spongebob Meme Pic
Volstate Portal
Latest Posts
Article information

Author: Dong Thiel

Last Updated:

Views: 5822

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Dong Thiel

Birthday: 2001-07-14

Address: 2865 Kasha Unions, West Corrinne, AK 05708-1071

Phone: +3512198379449

Job: Design Planner

Hobby: Graffiti, Foreign language learning, Gambling, Metalworking, Rowing, Sculling, Sewing

Introduction: My name is Dong Thiel, I am a brainy, happy, tasty, lively, splendid, talented, cooperative person who loves writing and wants to share my knowledge and understanding with you.