According to this serverfault answer the default message digest for openssl 1.0 is MD5. My openssl.cnf file has default_md set to default.
I generated a certificate using openssl 1.0.0:
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 360
When I query the cert I see:
Signature Algorithm: sha1WithRSAEncryption
Public Key Algorithm: rsaEncryption
How can I query the cert to show what the message digest is? Or how can I determine what the deafult_md is other than the openssl doc?