SSL Certificates - How to Create Recorder SSL Certificate
Adutante Recording WEB applications
Adutante Recordings package consists of two Web applications:
- Adutante Portal- includes User Administration, QC and Recorders Modules
- VSLogger.htm - Recording engine UI
Both interfaces are HTML applications and both by default are connected via SSL (Secure Socket Layer protocol) connection e.g. https://recorder1:8443/portal/
Versadial highly recommends you operate your recorder in a secure environment and take advantage of SSL If security is important to you and your recordings, please follow the steps below.
If for whatever reason, security is not required and you would like to record without SSL, please click here. Note: WE NOT NOT RECOMMEND THIS SETTING.
Unrecognized SSL Certificate Warnings
Default SSL certificates that come with Adutante recording is not recognized on the end client network, and users connecting to Adutante or VSLogger will get the below warning messages
for Chrome: "Your connection is not private, Attackers might be trying to steal your information from localhost (for example, passwords, messages, or credit cards)."
or for Firefox: "This Connection is Untrusted, You have asked Firefox to connect securely to localhost:8443, but we can't confirm that your connection is secure..."
Note: Internet Explorer is not supported at this time with Adutante and VSLogger, we suggest to use Chrome.
Generate Self-Signed SSL Certificate for Recorder
Initial configuration is to generate a self-signed certificate for Adutante/VSLogger
Step 1: Create Self-signed certificates for your recorder(s)
- Make note of your recorder Computer Name
- Typically located in Windows Start > Computer - Right Click on Computer and select "Properties". Computer name should be displayed. ie: VSlogger
- Open Versadial VSLogger CLI Configuration Tool (default location: "C:\Program Files (x86)\Versadial Solutions\vsLogger\vscli.exe")
- From menu Tools, select "Create SSL Certificate"
- For Private Host, enter Computer Name
- The other fields are optional, click button Create SSL Certificate. SSL Certificate should be automatically generated.
Step 2: Install Adutante and VSLogger Certificates
From Step 1 the certificate files are created. To install the created certificates please complete the following:
- For VSLogger: C:\ProgramData\Adutante\vslogger\cert\vslogger.cert.pem and C:\ProgramData\Adutante\vslogger\cert\vslogger.key.pem.
- Copy/paste these files to directory "C:\Program Files (x86)\Versadial Solutions\vsLogger\www\cert"
- For Adutante: C:\ProgramData\Adutante\vslogger\cert\adutante.jks.
- Copy/paste this file to "C:\Versadial\Adutante\framework\base\config"
- Within Windows services, Stop then Start both services for Adutante and Versadial VSLogger Connection (Control Panel > Administrative Tools > Services)
- After services restart, proceed to individual Workstations and install the newly generated self-signed certificate to each workstation (see steps below)
Note: If you cannot see the generated SSL certificates, make sure to enable your Windows Explorer to show hidden files, folders, or drives.
Individual Workstations
After you have created a self-signed certificate for the recorder, you must make the certificate trusted on the individual workstations that connect to the recorder.
For a visual walkthrough, please see attachment. Click Here
Step 1: Make certificates trusted - These steps must be done for all workstations connecting to the recorder
The following are directions using the CHROME BROWSER to install your generated SSL Certificate on the end-users PC and allow access to the recorder without warnings
- Connect to the website using SSL (https://YourRecName:8443/portal/)
- Since Chrome version 56, you do the following: go to the Three Dots Menu (Top right corner)-> More Tools -> Developer Tools
- Then, click on the Security Tab. This will give you a Security Overview with a View Certificate button, Click on the View Certificate button.
- A new window will open. It has three tabs;
General, Details, and Certification Path. Click the ‘Details’ tab. On that tab, click the ‘Copy to File…’ button.
- The Certificate Export Wizard opens…, Click next, now you’re asked what file format, DER is the default. Click Next again. Now you’re asked where to save the file. You can use the browse ellipses, or type a path (know where you saved it to import…)
Example: C:\Temp\AduCert
Click next, and finish. Click the OK button, and OK again to close the window.
Step 2: Import the certificate:
- Windows 10
- Click the Install Certificate… button
- When the ‘Certificate Import Wizard’ window opens, use the radio button to select ‘Local Machine’
- Click Next . . .
- This is important; it’s why the PC will accept the certificate…
- Use the radio button to select ‘Place in the following store’
- Click the Browse button and select ‘Trusted Root Certification Authorities'
- Double click the certificate you saved from the previous step.
- On the general tab, it should state:
- Issued to: YourRecorderPCname
- Issued by: YourRecorderPCname
- Click ‘Next’, and ‘Finish’…
- You will see ‘Successful’ then, Okay and Okay…
- Windows 7
- Click the Install Certificate… button
- Click Next
- Click the radio button. “Place all certificates in the following store”, then click Browse.
- From here, check the box that says ‘Show physical stores, and scroll up to the top of the list.
- Expand the folder ‘Trusted Root Certification Authorities, then click the folder ‘Local Computer’. Click OK.
- Afterwards, click Next, then Finish. You’re done!
- Double click the certificate you saved from the previous step.
- On the general tab, it should state:
- Issued to: YourRecorderPCname
- Issued by: YourRecorderPCname
Optional SSL Certificate Warning Bypass Method (Not Recommended)
Firefox
- If using Firefox and connecting to your recorder link https://recorder1:8443/portal/infoshare.htm
- You will get a certificate warning message "This Connection is Untrusted"
- Go to section "I Understand the Risks", click button Add Exception
- Enable checkbox "Permanently store this exception"
- Click button Confirm Security Exception
- Finished, it will skip the certificate warning page moving forward
Chrome
- Create a shortcut for Chrome and give it a name e.g. Adutante
- Right-click the new shortcut, and click Properties, then add the following text to the end of the Target: --test-type --ignore-certificate-errors --new-window https://recorder1:8443/portal/
- The text in the Target box should now look like this: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --test-type --ignore-certificate-errors --new-window https://recorder1:8443/portal/
- Click OK and Finish
- This shortcut will now bypass the certificate warning message
Disable SSL (Not Recommended. Please use at your own risk)
Here’s how to remove SSL:
Adutante already has a path to access it without SSL by default.
Access Adutante: http://ServerName-or-IP:8080/portal/
CLI must be configured, here’s how:
*Typed commands are preceded by ->
***Marks added notes if needed
Open CLI Tool, select menu, File and Connect. Click ‘OK’ in the Connect dialog.
login>
->u admin p admin
***Info about your recorder***
cli>
->config
cli>(config)
->netserver
cli>(config-netserver)
->ssl n
*settings were modified, type 'save' command to save current settings.
cli>(config-netserver)
->save
Saving...
cli>(config-netserver)
->exit
cli>(config)
->reload
Reloading...
server is busy, wait...
Purchased SSL Certificate for Recorder
Step 1: Generate a new private key and Certificate Signing Request
openssl req -out vslogger.csr -new -newkey rsa:2048 -nodes -keyout vslogger.key.pem
use password "versadial" to protect key
Download certificates from your provider
should be renamed to "vslogger.cert.pem"
Step 2: Create Java KeyStore file (adutante.jks)
Convert a PEM certificate file and a private key to PKCS#12 (.p12)
openssl pkcs12 -export -out adutante.p12 -inkey vslogger.key.pem -in vslogger.cert.pem
Import your private key into the JKS:
keytool -importkeystore -srckeystore adutante.p12 -srcstoretype pkcs12 -srcstorepass versadial -destkeystore adutante.jks -deststoretype jks -deststorepass versadial
Step 3.Replace self-signed certificates with new files and restart services (Adutante and VSLogger Connection Service)
VSLogger certificates files location
<installfolder>\www\cert (for 64bit OS default: C:\Program Files (x86)\Versadial Solutions\vsLogger\www\cert)
ca.cert.pem - certificate authority cert ( optional , can be combine with "vslogger.cert.pem")
vslogger.cert.pem - certificate
vslogger.key.pem - private key (protected with password "versadial")
Adutante certificate files location
C:\Versadial\Adutante\framework\base\config
adutante.jks
Also, please verify your version of Adutante.
Prior to 4.8.6.1, the file:
ofbiz-component.xml
Located here:
C:\Versadial\Adutante\framework\catalina
Needs line 150 commented out…
###<property name="keyAlias" value="adutante"/>