I need to put a certificate (that I have and is in the GitHub repo) into ~/.postgresql/root.crt. The message I am getting is:
psycopg.OperationalError: connection failed: root certificate file "/home/appuser/.postgresql/root.crt" does not exist
Either provide the file or change sslmode to disable server certificate verification.
Since the file I need (root.crt) is in the GitHub repo (in a .postgresql directory), how do I get it into ~/.postgresql/root.crt or /home/appuser/.postgresql/root.crt?
Thanks so much for any help and Happy Holidays!