Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: handling redirections #16

Open
badnetmask opened this issue Jul 19, 2023 · 0 comments
Open

RFE: handling redirections #16

badnetmask opened this issue Jul 19, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@badnetmask
Copy link

Some sites may redirect the content to a new site in a different domain, each one of their own certificates. This tool only sees the last site in the redirection chain. It would be good if it could also handle the original website, otherwise it looks confusing.

Example:

$ chkcerts https://commandlineheroes.com
Subject: www.redhat.com
Issuer: DigiCert SHA2 Extended Validation Server CA
(...)
$ curl -v commandlineheroes.com
(...)
< HTTP/1.1 301 Moved Permanently
< Location: https://www.redhat.com/en/command-line-heroes
(...)
$ echo "" | openssl s_client -connect "commandlineheroes.com:443" | openssl x509 -noout -text -enddate
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
depth=1 C = US, O = Let's Encrypt, CN = R3
depth=0 CN = commandlineheroes.com
(...)
@chris-short chris-short self-assigned this Jan 4, 2024
@chris-short chris-short added the enhancement New feature or request label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants