Using cURL to debug certifcate issue beween two servers

105 Views Asked by At

Our company's server communicate with another company's server via HTTPS. New certificates have been installed on both servers. Because of some issue, communication is not happening. I want to use curl command to see the cert that our server presents and the cert that remote server is presenting. But I am not sure how to do this. Can someone give an example. Just to learn I tried curl -v --cert-status https://www.example.com but it does not tell me the status of example.com's cert

0

There are 0 best solutions below