Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

How to publish Webserver with PEM Certificate on UTM

Issue:

Here in this article we will troubleshoot this issue “How to publish Webserver with PEM Certificate on UTM SG”

Resolution:

UTM does not accept certificates in PEM format, you need to convert them to PKCS#12.   Your certificate issuer can probably issue the certificate in a different format, or you can covert it yourself.

I will explain how to convert PEM to PKCS#12 in windows operating system

First download OPENSSL EXE file from this page:

https://slproweb.com/products/Win32OpenSSL.html

Click on the OPENSSL based on the OS type you are using:

Openssl files
OPENSSL

Now you need to add OPENSSL path to environmental variables:

Search for environmental variables in windows search bar:

environmental variables tab
Environmental Variables

Now click on environmental variables in this tab:

Change Environmental Variables
Environmental variables change

Double click on the path tab:

Environmental Path
Path tab

Now click on browse tab and search for OPENSSL path which will be under “C:\Program Files”. Once you got bin folder under OPENSSL, click on bin and select the path as shown in below image:

Select Path
BIN

Now you can verify OPENSSL is installed in your system by typing “OPENSSL” command in windows cmd

Verify Openssl
OPENSSL

Note: If you have already running command prompt, you have to close it and open new command prompt.

1.Open a command prompt and navigate to the directory that contains the cert_key_pem.txt file.

2.Execute the following OpenSSL command to create a PKCS12 (.p12) file:

openssl pkcs12 -export -inkey cert_key_pem.txt -in cert_key_pem.txt -out cert_key.p12

3After you enter the command, you’ll be prompted to enter an Export Password. Choose a password or phrase and note the value you enter

In Linux OS, OPENSSL is preinstalled, you can start from the above “step-2

Hope this article helps you