Fix pg version check for ssl cert links