# Configure SSL with Percona MySQL Operator

**URL:** <https://forums.percona.com/t/configure-ssl-with-percona-mysql-operator/9510>\
**Category:** Percona Operator for MySQL\
**Tags:** mysql, percona\
**Created:** [March 2, 2021, 4:54pm UTC](https://forums.percona.com/t/configure-ssl-with-percona-mysql-operator/9510 "2021-03-02T16:54:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nehemia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nehemia/32/3025_2.png) [@Nehemia](https://forums.percona.com/u/Nehemia)\
**Post date:** [March 2, 2021, 4:54pm UTC](https://forums.percona.com/t/configure-ssl-with-percona-mysql-operator/9510/1 "2021-03-02T16:54:22Z")

</div>

Running a single node cluster on Microk8s  
Can connect and the database seems to work  
Now trying to configure the database to accept an SSL connection  
Using this [article](https://www.percona.com/doc/kubernetes-operator-for-pxc/TLS.html#install-and-use-the-cert-manager)  
From reading [this link](https://pxc-encrypt-cluster-traffic) I understand that the ssl configuration should be done automatically  
I had already installed the cert-manager so did not follow the steps on this issue  
it seems the operator does not create the SSL secret  
and the connection with SSL is always refused  
deleting and applying the operator again did not change anything

I set this property so I can run in a single node configuration (do not know if it has anything to do with the my issue)

> allowUnsafeConfigurations: true

any help will be appreciated

---

<div class="post-metadata">

**Author:** ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)\
**Post date:** [March 4, 2021, 2:46pm UTC](https://forums.percona.com/t/configure-ssl-with-percona-mysql-operator/9510/2 "2021-03-04T14:46:09Z")

</div>

Hi @Nehemia

TLS/SSL configuration is done automatically only if `allowUnsafeConfigurations: false`  
you can follow [Generate certificates manually](https://www.percona.com/doc/kubernetes-operator-for-pxc/TLS.html#generate-certificates-manually) section in the documentation if you want to use TLS on a single-node configuration
