# How do you get pt-heartbeat to connect to a slave who has require\_secure\_transport enabled?

**URL:** <https://forums.percona.com/t/how-do-you-get-pt-heartbeat-to-connect-to-a-slave-who-has-require-secure-transport-enabled/7888>\
**Category:** Percona Toolkit\
**Created:** [August 11, 2020, 3:54pm UTC](https://forums.percona.com/t/how-do-you-get-pt-heartbeat-to-connect-to-a-slave-who-has-require-secure-transport-enabled/7888 "2020-08-11T15:54:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![grosenthal](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@grosenthal](https://forums.percona.com/u/grosenthal)\
**Post date:** [August 18, 2020, 10:27am UTC](https://forums.percona.com/t/how-do-you-get-pt-heartbeat-to-connect-to-a-slave-who-has-require-secure-transport-enabled/7888/3 "2020-08-18T10:27:05Z")

</div>

Thanks.&nbsp; I have tried 6 ways to sunday to ge this to work but seeing unauthroized user hung up in connection control plugin on the slave and seeing ssl connection error on the master.&nbsp; See below  
  
bash$&nbsp; pt-heartbeat F=/var/lib/mysql/my1.cnf -D test --master-server-id 1 --checkDBI connect(‘test;mysql\_read\_default\_file=/var/lib/mysql/my1.cnf;mysql\_read\_default\_group=client’,‘’,…) failed: SSL connection error: error:00000001:lib(0):func(0):reason(1) at /bin/pt-heartbeat line 2908.  
  
my1.cnf looks like this[client]user=myuserpassword=mypasshost=xx.xx.xx.xxport=3306ssl-mode=REQUIRED  
  
Any suggestions?

---

_[View the full topic](https://forums.percona.com/t/how-do-you-get-pt-heartbeat-to-connect-to-a-slave-who-has-require-secure-transport-enabled/7888)._
