sslsd-logo

How to Generate a CSR on Webmin Server?

Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing, and so on.

Webmin consists of a simple web server and several CGI programs that directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5 and use no non-standard Perl modules.

CSR Generation:

  • Log in to the Webmin interface in a web browser. Usually, it can be done via the following URL: http://example.com:9999, where example.com stands for the server’s hostname, and 9999 is a default port number.
  • Now hove the mouse over the left side panel, and click on the command shell. Also, you may use Alt + K and open the terminal box.How to Generate a CSR on Webmin Server?
    • How to Generate a CSR on Webmin Server?Now the Terminal screen will pop up on your screen. You’ll need to paste in the below OpenSSL command to generate the CSR as well as the Private Key. By default, you will be at the home directory of the server. By running the 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/emailAddress=adm@example.com.
      where example_com.csr and example_com.key would be generated as CSR and Private key files respectively.Also, it is required to replace next values in the command with those, which are applicable for the domain name:

      – CC – 2 letter country code abbreviation. Feel free to look up 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;
      – admin@example.com – the administrative contact email address.

  • Note: All of the fields must be filled only with alphanumeric symbols and no special ones are allowed (e.g. “&”, “/”, “^”, etc.).How to Generate a CSR on Webmin Server?
  • Execute the command.
  • If everything is done correctly, the output of the executed command will be displayed, like on the screenshot below.How to Generate a CSR on Webmin Server?
  • 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 the example_com.csr file by double-clicking on it.How to Generate a CSR on Webmin Server?

Forward the downloaded file to your CA for the generation of an SSL certificate.

If you are unable to use these instructions for your server, Acmetek recommends that you contact either the vendor of your software or the organization that supports it.

Recent Posts

S/MIME for Outlook O365 Windows

Add to Favorites S/MIME Advantages of S/MIME Certificates S/MIME (Secure/Multipurpose Internet Mail Extensions) certificates offer several advantages when it comes to securing email communications. Here

Read More »

Abbreviations

Add to Favorites There are literally thousands of IT abbreviations out there. Many are concerned with the technical aspects of the computer, while others deal

Read More »

SSL Installation on Qmail

Add to Favorites SSL Installation on Qmail Qmail is a secure, reliable, efficient, simple message transfer agent. It is designed for typical Internet-connected UNIX hosts.

Read More »