ssl-checker icon indicating copy to clipboard operation
ssl-checker copied to clipboard

support for non-standard port

Open ebdavison opened this issue 9 months ago • 1 comments

I have several sites that run on a non-standard port but serve SSL pages and I need to check their certs.

e.g. https://www.example.com:10443

Seems like this would not be too much work to implement as either part of the hostname or with a -p 12345 option.

ebdavison avatar Mar 13 '25 02:03 ebdavison

Came here to ask about this.

While the site works by adding the port in the textbox, you cannot do it via curl.

xcpn avatar Apr 28 '25 20:04 xcpn

Hello,

This is already built-in, you can pass the host:port as follows:

./ssl_checker.py -H https://tls-v1-2.badssl.com:1012/
+---------------------+
| Analyzing 1 host(s) |
+---------------------+
	[✓] tls-v1-2.badssl.com
	------------------------
		Issued domain: *.badssl.com
		Issued to: N/A
		Issued by: Let's Encrypt (US)
		Server IP: 104.154.89.105
		Valid from: 2025-07-15
		Valid to: 2025-10-13 (52 days left)
		Validity days: 89
		TLS Version: TLS 1.2
		Certificate valid: True
		Certificate S/N: 469948694224010924893879345588684156777861
		Certificate SHA1 FP: cba89a22df29509228b49ad662927b8467f11215
		Certificate version: 2
		Certificate algorithm: sha256WithRSAEncryption
		Expired: False
		Certificate SANs:
		 \_ *.badssl.com
		 \_ badssl.com


+-------------------------------------------------------------------------------------------+
| Successful: 1 | Failed: 0 | Valid: 1 | Warning: 0 | Expired: 0 | Duration: 0:00:00.435370 |
+-------------------------------------------------------------------------------------------+

narbehaj avatar Aug 22 '25 14:08 narbehaj