'Change hostname of SQL server SSL certificates

I have a postgres SQL server set up in google cloud. The certificates that I downloaded for this have a hostname of the form: project_name:instance_name. However, the : messes with the syntax of an application that I want to connect to google cloud (dbcrossbar). Can I change the hostname of the certificates such that I can remove the :?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source