https://github.com/awsmketchup/ssl-checker
Check validity of SSL Certificate
https://github.com/awsmketchup/ssl-checker
elixir elixir-lang elixir-library openssl ssl ssl-certificates
Last synced: over 1 year ago
JSON representation
Check validity of SSL Certificate
- Host: GitHub
- URL: https://github.com/awsmketchup/ssl-checker
- Owner: awsmketchup
- License: gpl-3.0
- Created: 2018-04-16T11:55:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-19T14:05:34.000Z (about 8 years ago)
- Last Synced: 2025-01-23T10:44:22.695Z (over 1 year ago)
- Topics: elixir, elixir-lang, elixir-library, openssl, ssl, ssl-certificates
- Language: Elixir
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SslChecker
Check validity of SSL Certificate
## Documentation
API documentation can be found at https://hexdocs.pm/ssl_checker/0.1.0
## Installation
Add `ssl_checker` to your list of dependencies
```elixir
def deps do
[
{:ssl_checker, "~> 0.1.0"}
]
end
```
## Basics
```
iex> SslChecker.check("github.com", 443)
%{
"issuer" => "DigiCert Inc",
"notAfter" => "May 17 12:00:00 2018 GMT",
"notBefore" => "Mar 10 00:00:00 2016 GMT",
"subject" => "GitHub, Inc."
}
iex> SslChecker.check("invalid.host", 443)
"unable to load certificate"
```