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

[fix] Fixed URL for downloading CRL from OpenWISP #338

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

pandafy
Copy link
Member

@pandafy pandafy commented Jul 26, 2024

Set tls-timeout to 2 for OpenVPN server

Closes #231


The OpenVPN image in docker-openwisp is configured to download the CRL from the OpenWISP dashboard. The URL mentioned in the script (in docker-openwisp) is wrong. Thus, the downloaded CRL files contains HTML (due to redirect to login page) and the OpenVPN server runs into error while reading that.

Set tls-timeout to 2 for OpenVPN server
wget -qO revoked.crl --no-check-certificate ${DASHBOARD_INTERNAL}/admin/pki/ca/${CAid}.crl
wget -qO revoked.crl --no-check-certificate ${DASHBOARD_INTERNAL}/admin/pki/ca/x509/ca/${CAid}.crl
Copy link
Member Author

Choose a reason for hiding this comment

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

We will need to update this once openwisp/django-x509#147 is merged.

@nemesifier nemesifier marked this pull request as ready for review August 9, 2024 18:14
@nemesifier nemesifier merged commit e5e84a4 into master Aug 9, 2024
3 checks passed
@nemesifier nemesifier deleted the issues/231-openvpn-tunnels branch August 9, 2024 22:03
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.

[bug] OpenVPN tunnels does not work out of the box
2 participants