ssl-checker
所属分类:CA认证
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-10-31 04:08:00
上 传 者:
sh-1993
说明: ssl检查器
(ssl checker)
文件列表:
go.mod (773, 2023-10-30)
go.sum (4268, 2023-10-30)
handler/ (0, 2023-10-30)
handler/hello.go (173, 2023-10-30)
handler/ssl.go (1355, 2023-10-30)
main.go (271, 2023-10-30)
router/ (0, 2023-10-30)
router/router.go (307, 2023-10-30)
# SSL Checker
SSL Checker is a simple Go (Golang) application for checking the validity of SSL certificates for a given URL and port. It utilizes the Fiber web framework and the crypto/tls package to perform SSL certificate checks.
## Features
- Verify SSL certificate for a given URL and port.
- Return the certificate's expiry date and organization information.
## Getting Started
### Prerequisites
- Go (Golang) installed on your system.
### Installation
1. Clone this repository:
```bash
git clone https://github.com/yourusername/ssl-checker.git
```
2. Change the working directory:
```bash
cd ssl-checker
```
3. Build the app
```bash
go build
```
4. Run
```bash
./ssl-checker
```
### Usage
You can send a JSON POST request to the /api/ssl-check endpoint with the URL and PORT you want to check.
Example request:
```json
{
"url": "google.com",
"port": "443"
}
```
Example response:
```json
{
"organization": "Google Trust Services LLC",
"ssl_expiry": "Monday, 01-Jan-24 08:04:02 UTC"
}
```
近期下载者:
相关文件:
收藏者: