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

Http Redirect for downloads crl and crt #459

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

jgrateron
Copy link
Contributor

No description provided.

private void downloadCrl(URL url) throws IOException, CryptoException {
URLConnection urlConn = url.openConnection();
HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you have the possibility to test this with a proxy? I vaguely remember that there was an issue when using HttpURLConnection (ignoring the proxy settings).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
Works correctly using this type of proxy

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll do a few tests next week.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked fine in my tests. Unfortunately I don't have access to the proxy anymore where I have noticed the issues a few years ago.

@kaikramer kaikramer merged commit 7cd3e49 into kaikramer:main Dec 2, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants