Using OpenSSL to Generate/Convert Keys and Certificates

GlobalSCAPE 5
EFT Server & EFT Server Enterprise


  • Secure FTP Server (FIPS)
  • EFT Server


How can I generate and convert keys and certificates?


The server's Certificate Creation wizard guides you through the process of creating keys and certificates without using a command line. If you prefer to use a command line tool, the OpenSSL command-line tool can be used to generate and convert private keys and public certificates, including:

  • Creation of RSA, DH, and DSA key parameters
  • Creation of X.509 certificates, CSRs, and CRLs
  • Calculation of Message Digests
  • Encryption and Decryption with Ciphers
  • SSL/TLS Client and Server Tests
  • Handling of S/MIME signed or encrypted mail

You can download the precompiled Windows binary and Windows Installer for OpenSSL from The OpenSSL distribution contains a number of utilities, including the main utility openssl.exe. By default, the utilities are installed in C:\Openssl\bin. The main utility, openssl.exe, and associated utilities are used at a Windows command prompt.

Some commands require specification of the OpenSSL configuration file openssl.cnf. By default, this file is installed in C:\Openssl\bin. Therefore, when required to specify the configuration filename, you would use the following path:

  • In SSL library version 0.9.8g the file is C:\OpenSSL\bin\openssl.cnf
  • In SSL library version 0.9.8h and later, the file is C:\OpenSSL\bin\openssl.cfg

You can run the commands from any location by specifying the full path to the desired executable or by changing to the bin directory and using only the executable filenames.

For example:

>cd c:\temp



>cd c:\Openssl\bin


Using OpenSSL to Generate and Convert Private Keys and Public Certificates

Refer to the procedures below for using OpenSSL to generate or convert private keys and public certificates.

Also In This Category

On a scale of 1-5, please rate the helpfulness of this article

Not Helpful
Very Helpful
Optionally provide your comments to help us improve this article...

Thank you for your feedback!

Add Your Comments
Comments require login or registration.
Last Modified: 3 Years Ago
Last Modified By: GlobalSCAPE 5
Article not rated yet.
Article has been viewed 51.3K times.
Find Similar
Customer Support Software By InstantKB 2015
Execution: 0.000. 8 queries. Compression Disabled.