<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/collect-ssl-info/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/collect-ssl-info/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 15 Dec 2016 17:58:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/collect-ssl-info/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/collect-ssl-info/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="collect_ssl_info"&gt;collect_ssl_info&lt;/h1&gt;
&lt;p&gt;The Script collect_ssl_info can provide in an easy way information from x509 certificates and the host which speaks SSL/TLS.&lt;/p&gt;
&lt;h2 id="installation"&gt;installation&lt;/h2&gt;
&lt;p&gt;reqired&lt;br/&gt;
- gawk&lt;br/&gt;
- openssl&lt;/p&gt;
&lt;p&gt;just put it to a bin path and set executable rights to it.&lt;/p&gt;
&lt;h2 id="manpage"&gt;manpage&lt;/h2&gt;
&lt;p&gt;COLLECT_SSL_INFO(1)          System Manager's Manual            COLLECT_SSL_INFO(1)                       &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;NAME&lt;br/&gt;
     collect_ssl_info — a wrapper for openssl&lt;/p&gt;
&lt;p&gt;DESCRIPTION&lt;br/&gt;
     collect_ssl_info is an GAWK Script to collect information over x509 certs. The cert source can be a servers or files. The Script shows all details&lt;br/&gt;
     of x509 certs and calculates hashes and ids for SHA, SHA256, SHA512, DANE and the pin&lt;/p&gt;
&lt;p&gt;SYNOPSIS&lt;br/&gt;
     collect_ssl_info &lt;span&gt;[-pqv]&lt;/span&gt; &lt;span&gt;[host:port]&lt;/span&gt; &lt;span&gt;[host2:port]&lt;/span&gt; &lt;span&gt;[-u host3:port]&lt;/span&gt; &lt;span&gt;[-ul hostlist]&lt;/span&gt; &lt;span&gt;[-ul hostlist2]&lt;/span&gt; &lt;span&gt;[-c cipher]&lt;/span&gt; &lt;span&gt;[-c cipher2]&lt;/span&gt; &lt;span&gt;[-cl cipherlist]&lt;/span&gt;&lt;br/&gt;
&lt;span&gt;[-cl cipherlist2]&lt;/span&gt; &lt;span&gt;[-z certfile]&lt;/span&gt; &lt;span&gt;[-z cerfile2]&lt;/span&gt; &lt;span&gt;[-zl certlist]&lt;/span&gt; &lt;span&gt;[-zl certlist2]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;OPTIONS&lt;br/&gt;
     -h --help&lt;br/&gt;
         Show help and information about how to use collect_ssl_info&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; -V, --version
     Show program version and exit

 -v
     Verbose mode (can be used several times to increase the level of details).

 -u  www.host.de:port
     host and port to connect to and fetch information
     each string without option is assumed to be an hostname with port
     this option can be used serveral times for serveral hosts

 -ul hostlist
     hostlist is a file with contains a liste with hostname:port entries
     Blank lines and empty lines allowed and will be ignored
     this option can be used serveral time for serveral hosts listes

 -c  RC4-MD5
     chipher to check in the Protokollcheck with Option -p
     this option can be used serveral times to check for serveral ciphers

 -cl cipherlist
     cipherlist is a file with contains a liste with ciphername entries
     Blank lines and empty lines allowed and will be ignored
     this option can be used serveral time for serveral cipher listes

 -z  certfile
     certfile to read
     this option can be used serveral times for serveral certfiles

 -zl certlist
     certlist is a file with contains a liste with certfilesname entries
     Blank lines and empty lines allowed and will be ignored
     this option can be used serveral times for serveral certfile listes

 -i
     show certinfo in details and hashes
     this option is set per default and can be switched of with -q

 --showcerts
     take complete certchain to display the details

 --state
     check certs with OCSP against their CAs

 -q
     do not show any cert

 -p
     check the symmetric ciphers for each host:port pair and show weather the server connects with or not
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;HOST SELECTION BY LIST&lt;br/&gt;
     -ul file&lt;br/&gt;
         file with hostlist in addr:port combination&lt;/p&gt;
&lt;p&gt;CIPHER SELECTION BY LIST&lt;br/&gt;
     -cl file&lt;br/&gt;
         file with cipher list&lt;/p&gt;
&lt;p&gt;CERTIFICAT SELECTION BY LIST&lt;br/&gt;
     -zl file&lt;br/&gt;
         file with cerfile list as filename&lt;/p&gt;
&lt;p&gt;EXAMPLES&lt;br/&gt;
     show the cert a host offers&lt;br/&gt;
         collect_ssl_info www.host.de:443&lt;br/&gt;
         collect_ssl_info -u www.host.de:443&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; show the certs hosts offers
     collect_ssl_info www.host1.de:443 www.host2.de:143
     collect_ssl_info -u www.host1.de:443 -u www.host2.de:143

 show the cert of a host and check ciphers
     collect_ssl_info -p www.host.de:443
     collect_ssl_info -p -u www.host.de:443

 show the cert of a host and check the cipher RC4-MD5
     collect_ssl_info -p www.host.de:443 -c RC4-MD5
     collect_ssl_info -p -u www.host.de:443 -c RC4-MD5

 show the certs hosts offers and check comnects whith ciphers RC4-MD5 and AES128-SHA256
     collect_ssl_info -p www.host.de:443 -c RC4-MD5 -c AES128-SHA256
     collect_ssl_info -p www.host1.de:443 www.host2.de:143 -c RC4-MD5 -c AES128-SHA256

 check_only comnects whith the ciphers RC4-MD5 and AES128-SHA256
     collect_ssl_info -qp www.host.de:443 -c RC4-MD5 -c AES128-SHA256

 show the certfile www.something.de.pem
     collect_ssl_info -z www.something.de.pem
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;EXAMPLES WITH HOSTLISTS&lt;br/&gt;
     show only ciphers of the hosts from hostlistaa.txt the list contains the entries&lt;br/&gt;
         www.host1.de:443&lt;br/&gt;
         www.host2.de:143&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; collect_ssl_info -qp -ul hostlistaa.txt
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;EXAMPLES WITH CIPHERLISTS&lt;br/&gt;
     show only this ciphers from the ciperlist of the hosts from cipherlistbb.txt the cipherlist contains the entries&lt;br/&gt;
         RC4-MD5&lt;br/&gt;
         AES128-SHA256&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; collect_ssl_info -qp -ul hostlistaa.txt -cl cipherlistbb.txt
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;EXAMPLES WITH CERTLISTS&lt;br/&gt;
     show the details of the certfiles named in the cerfilelistcc.txt the certlist contains the entries&lt;br/&gt;
         www.host1.de.pem&lt;br/&gt;
         www.host2.de.pem&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; collect_ssl_info -zl certfilelistcc.txt
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;PRESETTINGS&lt;br/&gt;
     -i  this option is assumed to use, if not use -q to switch it off&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; -u  each string without option is assumed to be a hostname and use -u
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;SEE ALSO&lt;br/&gt;
     openssl(1), x509(1)&lt;/p&gt;
&lt;p&gt;AUTHOR&lt;br/&gt;
     collect_ssl_info an this manpage was written by siegfried, It is released under the GPLv3 (GNU General Public License version 3)&lt;/p&gt;
&lt;h2 id="an-advanced-example-collect_ssl_info-ul-hosttxt-pq-cl-ciphertxt"&gt;an advanced example collect_ssl_info -ul host.txt -pq -cl cipher.txt&lt;/h2&gt;
&lt;p&gt;First create two listefiles&lt;br/&gt;
The hostlist host.txt shows like this&lt;/p&gt;
&lt;p&gt;192.xx.yy.zz:123&lt;br/&gt;
www.xyz.de:443&lt;/p&gt;
&lt;p&gt;and the cipherlist chipher.txt shows like this&lt;/p&gt;
&lt;p&gt;RC4-MD5&lt;br/&gt;
AES128-SHA256&lt;/p&gt;
&lt;p&gt;now we can use both lists to do q quick chipher check on these hosts with the command&lt;/p&gt;
&lt;p&gt;collect_ssl_info -ul host.txt -pq -cl cipher.txt&lt;/p&gt;
&lt;p&gt;===== begin ciphertest 192.xx.yy.zz:123 ===============&lt;br/&gt;
RC4-MD5                          failed&lt;br/&gt;
AES128-SHA256            success&lt;br/&gt;
===== end ciphertest 192.xx.yy.zz:123 ===============&lt;br/&gt;
===== begin ciphertest www.xyz.de:443 ===============&lt;br/&gt;
RC4-MD5                          failed&lt;br/&gt;
AES128-SHA256            success&lt;br/&gt;
===== end ciphertest www.xyz.de:443 ===============&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Siegfried</dc:creator><pubDate>Thu, 15 Dec 2016 17:58:18 -0000</pubDate><guid>https://sourceforge.net2e82fc1afb3a60de51548628ddec31555d1bf475</guid></item><item><title>Home modified by Siegfried Eichhorn</title><link>https://sourceforge.net/p/collect-ssl-info/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/collect-ssl-info/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/ich2016/"&gt;Siegfried Eichhorn&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-57ee950ca02bb15b24e7c1d2" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Siegfried Eichhorn</dc:creator><pubDate>Fri, 30 Sep 2016 16:38:36 -0000</pubDate><guid>https://sourceforge.net076c7d553f6b939425b3baa5b25a26fa4f3e7d68</guid></item></channel></rss>