I am doing the same way as mentioned in official documentation.
Can you point me out where I am wrong.
I would highly appreciate it as I am stuck on this.
I think I am not clear in explaining the problem at hand. Let me re-iterate it.
I am not facing issue while connecting to normal db. It works perfectly fine the way you have shown.
Problem arises when I have ssl enabled on database, that when I add useSSL=true in my db url string
Although I am adding correct certificate to trust store, connection could not be established.
I’m not a pro in MySQL so please bear with me. Could you please tell me if you are able to connect to your DB with useSSL=true setting manually? By manually I mean without using Liquibase.
If not, could you please check this article and then try the same with liquibase.