I have a wildcard SSL certificate which powers
*.mysite.com. The site is accessible from all browsers without any problem. There is also a service (on a different server)
service.mysite.com. Strangely, when I access
service.mysite.com using curl I get this:
curl: (60) SSL certificate problem: certificate has expired
On digging further I found that I can indeed access
service.mysite.com from a Ubuntu 18.04 server but not from Ubuntu 14.04. That tells me that perhaps my CA bundle is not in order.
So I did this:
curl -vv --cacert mysite.ca-bundle.crt https://service.mysite.com
mysite.ca-bundle.crt is the one I received from the SSL provider. But I still get exactly same error. What am I missing?