Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors


Library sslcert

A library providing functions for collecting SSL certificates and storing them in the host-based registry.

The library is largely based on code (copy-pasted) from David Fifields ssl-cert script in an effort to allow certs to be cached and shared among other scripts.

Author:
"Patrik Karlsson <patrik@cqure.net>"

Source: http://nmap.org/svn/nselib/sslcert.lua

Functions

getCertificate (host, port)

Gets a certificate for the given host and port The function will attempt to START-TLS for the ports known to require it.



Functions

getCertificate (host, port)

Gets a certificate for the given host and port The function will attempt to START-TLS for the ports known to require it.

Parameters

  • host: table as received by the script action function
  • port: table as received by the script action function

Return values:

  1. status true on success, false on failure
  2. cert userdata containing the SSL certificate, or error message on failure.

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]