Upgrade from 5.14 to 5.24 - Gif commands integration not working

Since upgrading and installing the new GIF integration from the plugin marketplace I am getting the below error when trying to post a GIF, I have included another error I’m getting along the same line. I have this service running under a valid SSL cert. Could anyone make sense of this, please?

{“level”:“error”,“ts”:1594883815.308233,“caller”:“mlog/log.go:175”,“msg”:“Error calling the GfyCat search API”,“path”:"/api/v4/commands/execute",“request_id”:“so1ca3bp7fda8y9nhryk8raxfr”,“ip_addr”:"",“user_id”:“xw6fjocidbnqj8ziw6qyk6pzxw”,“method”:“POST”,“err_where”:“GIF commands”,“http_code”:400,“err_details”:“Get “https://api.gfycat.com/v1/gfycats/search?count=1&search_text=+yes”: x509: certificate signed by unknown authority”}

{“level”:“error”,“ts”:1594883975.1619406,“caller”:“app/notification_email.go:103”,“msg”:“Error while sending the email”,“user_email”:"",“error”:“SendMail: Failed to open TLS connection., x509: certificate signed by unknown authority”}

Hello, @damopen

Would you mind running a quick test on SSL Labs if your instance is publicly available on the internet and share the result? It is commonly caused by CA certificate chain, so I want to check on that first.

Also, can you also confirm that there were no changes to the SSL configuration in your Mattermost instance prior / after the upgrade? By default, this is how it looks like on my end:

ahmaddanial@mattermost:/opt/mattermost$ cat /opt/mattermost/config/config.json | grep "TLS"
        "TLSCertFile": "",
        "TLSKeyFile": "",
        "TLSMinVer": "1.2",
        "TLSStrictTransport": false,
        "TLSStrictTransportMaxAge": 63072000,
        "TLSOverwriteCiphers": [],
        "SkipTLSVerification": false,