Privilege Cloud - Remote Access RDS Certificate Troubleshooting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Remote Access Articles
2 min read
L2 Linker
No ratings

Customers often struggle with:

  1. Checking that the certificate they've created for their PSM server meets our requirements
  2. ​​Actually setting their certificate to be used by RDS

Steps

Instructions to test a certificate

Firstly, the customer needs to install the certificate into the Local Machine - Personal store. No other certificate stores are currently searched by the script. Then, the customer should run the script as below:

When running the script, the user will be asked to select the certificate that they'd like to use:

ka32J00000053lqQAA__eid=ka32J00000053lq&feoid=00N2J000009R3kv&refid=0EM2J000004QeMG.png

After clicking OK, the script will then run tests against the selected certificate. If everything is OK, they'll see a confirmation message like this:

ka32J00000053lqQAA__eid=ka32J00000053lq&feoid=00N2J000009R3kv&refid=0EM2J000004QeML.png

If not, they'll see the exact reason(s) why the certificate won't work with HTML5 Gateway and Remote Access, for example:

ka32J00000053lqQAA__eid=ka32J00000053lq&feoid=00N2J000009R3kv&refid=0EM2J000004QeMQ.png

Instructions to install a certificate (must run script as administrator)

If the customer would like to have the script also install the certificate, they should run the script with the -SetCertificate flag. This will prompt them to select a certificate (as above), run all of the tests, and if all tests pass it will then automatically set the certificate for use by RDS. This is how it looks for a valid cert:

ka32J00000053lqQAA__eid=ka32J00000053lq&feoid=00N2J000009R3kv&refid=0EM2J000004QeMf.png

 

What tests are currently performed when checking / before setting the cert?

  • The private key is installed
  • Subject Alternative Names (SAN) contains an entry for the local machine FQDN
  • The certificate has not expired (NotAfter)
  • The certificate is currently valid (NotBefore)
  • Enhanced Key Usage for 'Server Authentication' is present

Location

Currently, the latest version of the script can be downloaded from this location: matthew-price/TestHTML5Certificate: Checks whether the selected RDS certificate meets the requiremen...

Rate this article:
  • 4811 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎12-12-2022 01:52 AM
Updated by: