Would you like to learn how to create a self-signed certificate using OpenSSL? In this tutorial, we are going to show you how to create a self-signed certificate on a computer running Linux.
• Ubuntu 18
• Ubuntu 19
• Ubuntu 20
• Ubuntu 22
Copyright © 2018-2021 by Techexpert.tips.
All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means without the prior written permission of the publisher.
Equipment list
Here you can find the list of equipment used to create this tutorial.
This link will also show the software list used to create this tutorial.
Tutorial Linux – Create a self-signed certificate
Install OpenSSL.
Create a self-signed certificate on Linux.
Enter a password to protect the private key.
Enter the certificate information.
Optionally, create a self-signed certificate without prompting for information.
View the content of the certificate.
Congratulations! You are able to create a self-signed certificate on Linux.
Tutorial OpenSSL – Self-signed certificate commands
Generate a self-signed certificate with multiple alternative names.
Export the private key without the password.
Export the certificate and private key as a PFX file.
Export the public certificate to the CRT format.
On Windows, use Powershell to import this certificate as a trusted root certification authority.
Congratulations! You are able to create a self-signed certificate on Linux.