Generating a CSR on Webmin

Generating a CSR on Webmin

Let’s outline the steps for generating a CSR using the tools provided within the Webmin control panel interface:

How to Generating a CSR on Webmin

Secure Your Site Instantly
1Byte offers trusted SSL certificates to protect your website and ensure secure data transmission for your customers.
FURTHER READING:
1. Generating a CSR in Vesta CP
2. CSR Generation on Ubiquiti UniFi
3. Generating a CSR on Tomcat using Keytool

Step 1

  • Log in to Webmin interface in a web browser. Usually, it can be done via the following URL: https://example.com:10000, where example.com stands for the hostname of the server and 10000 is a default port number.
  • Hover the mouse over the panel on the left side of the page and click Others >> Command Shell.
  • By default, you will be at the home directory of the server. By running cd folder_name command, you can navigate to the folder where you would like to create CSR and Private key files. Also, you can create a new folder by running:
    mkdir folder_name
  • While you are at the desired directory, paste the following command into the command prompt field:
    openssl req -new -newkey rsa:2048 -nodes -out example_com.csr -keyout example_com.key -subj “/C=CC/ST=StateName/L=CityName/O=OrgName/OU=OrgUnit/CN=example.com/[email protected]

Step 2

where example_com.csr and example_com.key would be generated as CSR and Private key files respectively. The names of the files can be changed to other values so that they can be easily distinguished further. The subject value (-subj) can be specified with or without the quotes. Also, it is required to replace next values in the command with those, which are applicable for the domain name in question:

  • CC – 2 letter country code abbreviation. Feel free to look up for the correct country code in this online directory;
  • StateName – the name of the state or the city name if there is no state;
  • CityName – the name of the city;
  • OrgName – the name of the company or “NA” if there is no registered company;
  • OrgUnit – the name of the department within the company, which is in charge of SSL management, or just “NA” if there is no unit;
  • example.com – the domain name, for which the SSL certificate will be issued. Here you can check how to put the domain name to CSR correctly;
  • [email protected] – the administrative contact email address.

Note! For OV and EV certificates, it is obligatory to specify a legal company name and an existing department in Organization and Organization unit fields since those certificates are issued to registered companies and imply a more advanced validation level.

Discover Our Services​

Leverage 1Byte’s strong cloud computing expertise to boost your business in a big way

Domains

1Byte provides complete domain registration services that include dedicated support staff, educated customer care, reasonable costs, as well as a domain price search tool.

SSL Certificates

Elevate your online security with 1Byte's SSL Service. Unparalleled protection, seamless integration, and peace of mind for your digital journey.

Cloud Server

No matter the cloud server package you pick, you can rely on 1Byte for dependability, privacy, security, and a stress-free experience that is essential for successful businesses.

Shared Hosting

Choosing us as your shared hosting provider allows you to get excellent value for your money while enjoying the same level of quality and functionality as more expensive options.

Cloud Hosting

Through highly flexible programs, 1Byte's cutting-edge cloud hosting gives great solutions to small and medium-sized businesses faster, more securely, and at reduced costs.

WordPress Hosting

Stay ahead of the competition with 1Byte's innovative WordPress hosting services. Our feature-rich plans and unmatched reliability ensure your website stands out and delivers an unforgettable user experience.

AWS Partner

As an official AWS Partner, one of our primary responsibilities is to assist businesses in modernizing their operations and make the most of their journeys to the cloud with AWS.

Step 3

Note! All of the fields must be filled only with alphanumeric symbols and no special ones are allowed (e.g. “&”, “/”, “^”, etc.).

  • Execute the command.
  • If everything is done correctly, the output of the executed command will be displayed, like on the screenshot below.
  • Hover the mouse over the panel on the left side and click File Manager in the expanded Others subcategory.
  • Next, browse over the file system to open the folder where the CSR and Private key files were generated. Download example_com.csr file by double-clicking on it.
  • Once the file is downloaded, you are ready to activate the SSL certificate in 1Byte account area.

At the time, when the SSL certificate is issued by the Certificate Authority, you will be able to install it according to this guide.