Jump to content

How to encrypt the certificate password for use with the Browser Based Gateway


support

Recommended Posts

Issue:

You have installed the Browser Based Gateway on your Passwordstate web server, but the Passwordstate-Gateway Service will not start.  Part of the installation process is to export the Passwordstate certificate to a password protected pfx file, and then that password is encrypted and inserted into the gateway.conf file.  If this encrypted password is missing or incorrect, then the service will not start.

 

One way to test this is the issue is to set the SSL value to false, as per below screenshot, and then try starting the service again.  If the service starts then this indicates a problem with the certificate.  Change the SSL value back to true after this test.

 

2020-02-06_10-02-39.png

 

To fix this, follow these steps:

 

1. Export the certificate by following Section 7 in this document:  https://www.clickstudios.com.au/downloads/version9/Passwordstate_Remote_Session_Launcher_Gateway_Install_Guide.pdf

2. Confirm the exported certificate is called Passwordstate.pfx and copy it into your c:\inetpub\passwordstate\hosts\gateway folder, overwriting the existing certificate if it exists

3. Run the following Powershell script when logged into your web server, but change the password from Welcome123 to the password you set when exporting the certificate

 

cd C:\inetpub\Passwordstate\hosts\gateway

java.exe -cp SparkGateway.jar com.toremote.gateway.Encryption Welcome123 -q

 

 

This will give an output as per below screenshot:

2020-02-06_10-09-19.png

 

4. Copy this value and place it into your gateway.conf file, as per below screenshot, and save this change

2020-02-06_10-10-55.png

 

5. Now try to start the Passwordstate-Gateway service again.

 

 

If this still does not help, please contact Click Studios support.

 

Regards,

Support

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...