Jump to content

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

Recommended Posts


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.




To fix this, follow these steps:


1. Export the certificate again by following Section 6 in this document:  https://www.clickstudios.com.au/downloads/version8/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:



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



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



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




Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...