software:tls:mtlsgen
Differences
This shows you the differences between two versions of the page.
| software:tls:mtlsgen [2025/07/23 01:17] – created rodolico | software:tls:mtlsgen [2025/07/23 15:38] (current) – rodolico | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| openssl x509 -req -in client.csr -CA ca.crt -CAkey ca.key \ | openssl x509 -req -in client.csr -CA ca.crt -CAkey ca.key \ | ||
| -CAcreateserial -out client.crt -days 500 -sha256 | -CAcreateserial -out client.crt -days 500 -sha256 | ||
| - | <\code> | + | </code> |
| ==== Step 3: Verify the Certificates ==== | ==== Step 3: Verify the Certificates ==== | ||
| Line 56: | Line 56: | ||
| **Verify the Server Certificate** | **Verify the Server Certificate** | ||
| + | |||
| <code bash> | <code bash> | ||
| **Verify the Client Certificate** | **Verify the Client Certificate** | ||
| + | |||
| <code bash> | <code bash> | ||
| Line 73: | Line 75: | ||
| Example using '' | Example using '' | ||
| - | <code bash> | + | <code bash> |
| + | curl -v --key client.key --cert client.crt | ||
| + | --cacert ca.crt https:// | ||
| + | </ | ||
| ==== Conclusion ==== | ==== Conclusion ==== | ||
software/tls/mtlsgen.1753251477.txt.gz · Last modified: 2025/07/23 01:17 by rodolico
