I am using Nmap commands in my script for server validation. I know in Nmap there is the ssl-cert.nse script that retrieves details about the server certificate. I want one more step where I find certificate name mismatch and untrusted certificates.

How to achieve that?

  • 1
    Does it have to be in nmap? – schroeder Mar 5 at 9:55
  • I'm reading the documentation for ssl-cert.nse and it appears to have the ability to check for domain mismatch. – schroeder Mar 5 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.