How to upgrade sonarqube certificate to connect to postgresql using SSL/TLS Certificates

Hi ,
We have sonarqube developer edition version 7.7, We need to upgrade certificates in postgresql, and also want to upgrade certificate in sonarqube to connect to postgresql.
Can any one help me to find the steps to be followed to upgrade certificate in sonarqube.