Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rleh/tls_tools
Tools for TLS and DANE (DNS-based Authentication of Named Entities), TLSA record generator
https://github.com/rleh/tls_tools
Last synced: about 2 months ago
JSON representation
Tools for TLS and DANE (DNS-based Authentication of Named Entities), TLSA record generator
- Host: GitHub
- URL: https://github.com/rleh/tls_tools
- Owner: rleh
- License: gpl-3.0
- Created: 2015-05-16T16:41:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-15T00:19:16.000Z (almost 8 years ago)
- Last Synced: 2024-10-12T19:47:34.342Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TLS Tools
Tools for TLS and DANE (DNS-based Authentication of Named Entities)### TLSA record generator
Generate a TLSA record for BIND.The certificate is retrieved from the server using ```openssl s_client```.
Servers using SNI (*Server Name Indication* is a TLS extension to allow multiple secure hostnames to be served from a single IP address) are supported.##### Usage
```
./generate-tlsa.sh host[:port] [host[:port]] [...]
```
The default port is 443 (https).### Certificate signature algorithm checker
Shows the signature algorithm of the certificate used by the servers.The certificate is retrieved from the server using ```openssl s_client```.
Servers using SNI (*Server Name Indication* is a TLS extension to allow multiple secure hostnames to be served from a single IP address) are supported.##### Usage
```
./check-signature-algorithm.sh host[:port] [host[:port]] [...]
```
The default port is 443 (https).## Bonus
### Server with TLSA records and DNSSEC
The scripts `letsencrypt-renew_tlsa_dnssec.sh` and `bind_dnssec_resign.sh` can be used on servers with TLS enabled services (like HTTPS, IMAPS or SMTPS) with self-hosted primary bind nameserver.Both script must be adapted to your local DNS zones and subdomains with TLSA records.
`letsencrypt-renew_tlsa_dnssec.sh` renews certs from Let’s Encrypt, restarts (or reloads) the affected services, (re)generates TLSA records for the DNS zones and re-signs the DNSSEC secured zones the pubish the new TLSA records.