# How can I configure SSL with a key password?

**URL:** <https://community.solace.com/t/how-can-i-configure-ssl-with-a-key-password/2047>\
**Category:** Solace Event Broker\
**Tags:** security\
**Created:** [October 8, 2024, 1:20am UTC](https://community.solace.com/t/how-can-i-configure-ssl-with-a-key-password/2047 "2024-10-08T01:20:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yeikel](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/yeikel/32/2216_2.png) [@yeikel](https://community.solace.com/u/yeikel)\
**Post date:** [October 8, 2024, 1:20am UTC](https://community.solace.com/t/how-can-i-configure-ssl-with-a-key-password/2047/1 "2024-10-08T01:20:45Z")

</div>

According to this guide:

> **[Managing Server Certificates](https://docs.solace.com/Security/Managing-Server-Certs.htm#Setting)**

I must add my certificates to `/usr/sw/jail/certs` as well as

- _To maintain private key security and to prevent unauthorized users from copying private keys from the event broker, Solace strongly recommends that only password‑protected private keys are used for the server certificate._

The guide however fails to specify how to configure Solace to read a private key with a password. Could you please clarify where do I need to set the password?

Currently, I have the following files in my server:

 ![image.png](https://canada1.discourse-cdn.com/solace/original/2X/4/48b162288eb37253f4d6f16aac0eeb2d0f975d1d.png)

---

<div class="post-metadata">

**Author:** ![rey](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/rey/32/2192_2.png) [@rey](https://community.solace.com/u/rey)\
**Post date:** [October 9, 2024, 2:39pm UTC](https://community.solace.com/t/how-can-i-configure-ssl-with-a-key-password/2047/2 "2024-10-09T14:39:48Z")

</div>

@yeikel when you run `server-certificate <filename>` using the Solace CLI, does you get asked for the password to the certificate? The CLI should ask you for the password, decrypt the file, then re-encrypt and securely store.
