# Testing the created trusted client certificate

## Procedure

1. Start the Talend Remote Engine.
2. Try accessing https://localhost:9004/configuration using a simple browser, for example, Firefox.

   If you get the following error message, the browser does not have the trusted certificate:
   ```
   An error occurred during a connection to localhost:9001.

   SSL peer cannot verify your certificate.

   (Error code: ssl_error_bad_cert_alert)
   ```
3. Add the client certificate to the browser.

   Firefox supports the import of PKCS12 keystore. Therefore, you are going to "transform" the JKS keystore into a PKCS12 keystore:
   ```
   keytool -importkeystore -srckeystore clientKeystore.jks -srcstoretype JKS -destkeystore client.pfx -deststoretype PKCS12
   Enter destination keystore password:
   Re-enter new password:
   Enter source keystore password:
   Entry for alias clientkey successfully imported.
   Import command completed: 1 entries successfully imported, 0 entries failed or cancelled
   ```
4. Import the client certificate to Firefox by clicking Tools &gt; Options &gt; Advanced.
5. In the Certificates tab, click View Certificates.
6. In the Your Certificates tab, click Import... and choose the client.pfx keystore file.
7. Try accessing https://localhost:9004/configuration again.

   You will have access as a trusted client.