Nmap Development mailing list archives

how to get sever certificates chain & the bug of scanning port 443


From: Man Hou <houman.march () gmail com>
Date: Thu, 7 Mar 2013 15:45:26 +0800

Hi dev,
    I can use ssl-cert.nse to get server certificate, but I want to get
server certificates chain. Has the foundation of getting certificates chain
not been developed?

    I run the latest nmap, the verison 6.25, for geting ssl certificate
info,but I have a problem as follow:
     for example:
     1. put the attachment------temp.csv (this is a url list) to the /
     2.root@ubuntu-server-12:/#nmap -iL temp.csv -PS 443 -p 443 -v  -n
--script=ssl-cert.nse  --host-timeout 5s
        Starting Nmap 6.25 ( http://nmap.org ) at 2013-03-05 17:43 CST
        NSE: Loaded 1 scripts for scanning.
        NSE: Script Pre-scanning.
        nmap: TargetGroup.cc:529: int TargetGroup::return_last_host():
Assertion `currentaddr.s_addr > startaddr.s_addr' failed.
        Aborted (core dumped)
    3.relevant info:
       OS info
       root@ubuntu-server-12:/#uname -a
       result:Linux ubuntu-server-12 3.2.0-37-generic #58-Ubuntu SMP Thu
Jan 24 15:28:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

       Nmap info
       root@ubuntu-server-12:/#nmap --version
       Nmap version 6.25 ( http://nmap.org )
       Platform: x86_64-unknown-linux-gnu
       Compiled with: nmap-liblua-5.2.1 openssl-1.0.1 nmap-libpcre-7.6
nmap-libpcap-1.2.1 nmap-libdnet-1.12 ipv6
       Compiled without:Available nsock engines: epoll poll select


-- 
Best wishes!

Attachment: temp.csv
Description:

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: