Creating an SSL Certificate for Techila Web Interface

Creating an SSL Certificate for Techila Web Interface

Postby techila support » 2016-03-24 09:46:40

By default, the SSL certificate on the Techila Web Interface is not signed by a trusted Certificate Authority (CA). This causes web browsers to produce an error message notifying the user of potential problems when connecting to the Techila Web Interface.

This post contains instructions on how to create a signed SSL certificate.

Before continuing, please make a backup copy of the SSL Certificate and Key files located at the following paths:

• SSLCertificateFile: /opt/techila/server/certs/gui.crt
• SSLCertificateKeyFile: /opt/techila/server/certs/gui.key

The following steps describe how to create a signed SSL certificate. This guide is based on the instructions found at the Apache website (http://httpd.apache.org/docs/2.0/ssl/ss ... l#realcert).

0. Log in to the Techila Server using your SSH credentials.

1. Get root permissions with command:

sudo -i


2. Create a temporary working directory (e.g. /home/techila-admin/crtgen) with command:

mkdir /tmp/crtgen

3. Change your current working directory to the temporary working directory with command:

cd /tmp/crtgen


4. Create a Techila Server RSA private key the with command:

openssl genrsa -des3 -out gui.key 1024


5. Create a Certificate Signing Request (CSR) with the Techila Server RSA private key with command

openssl req -new -key gui.key -out gui.csr

Fill in the required information that will be incorporated into your certificate request.

6. Send the Certificate Signing Request (gui.csr) to a Certifying Authority to be signed. The CSR can be signed by a commercial CA or a private CA applicable to your organization.

7. After the CSR has been processed, a SSL Certificate file (.crt) and a SSL Certificate Key file (.key) should be available.

8. Move the Certificate file (.crt) and a SSL Certificate Key files (.key) to the following path:

/opt/techila/server/certs/

9. Modify the file '/opt/techila/server/gui/virtualhost' to use the new Certificate files.

10. Restart apache with the following system command:

systemctl restart apache2
Techila MATLAB documentation available here:

http://www.techilatechnologies.com/help ... ngine.html
techila support
Techila Staff
Techila Staff
 
Posts: 51
Joined: 2015-12-21 10:19:47

Return to Google Compute Engine

cron