https://github.com/hiroakis/go-check-ssl-certificates
The go-check-ssl-certificates checks the ssl certificates
https://github.com/hiroakis/go-check-ssl-certificates
Last synced: 11 months ago
JSON representation
The go-check-ssl-certificates checks the ssl certificates
- Host: GitHub
- URL: https://github.com/hiroakis/go-check-ssl-certificates
- Owner: hiroakis
- Created: 2017-06-21T08:07:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-21T09:55:06.000Z (about 9 years ago)
- Last Synced: 2025-04-04T16:43:47.849Z (about 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-check-ssl-certificates
# Installation
```
make
```
# Usage
* options
```
-connect string
The remote addr. The format should be 'example.com:ssl_port'.
-file string
The certificates.
-timeout int
The timeout in sec. (default 10)
```
* Check the website
```
go-check-ssl-certificates -connect hiroakis.com:443
```
* Check the certificate file
```
go-check-ssl-certificates -file test_certificates/my-server.crt
```
* The result example
```
{
"cn": "hiroakis.com",
"not_after": "2018-04-14T02:51:26Z",
"not_before": "2016-01-11T11:23:49Z",
"dns_names": [
"hiroakis.com"
],
"signature_algorithm": "SHA256-RSA",
"issuer": "RapidSSL SHA256 CA - G3",
"organizations": [
"GeoTrust Inc."
],
"expiration": 25642324.493055414
}
```
# License
MIT