to compile:
```
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
```

Example:
`certinfo chain.crt`
```
#1 - Common Name (CN): R3
	Valid from: Sep  4 00:00:00 2020 GMT
	Valid until: Sep 15 16:00:00 2025 GMT
```
