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

OpenVPN wizard server cert check #3634

Merged
merged 3 commits into from
Aug 7, 2019

Conversation

johnaheadley
Copy link
Contributor

This PR fixes the issue I described in #3617.

In the case that both server and non-server certs are present, I chose to have the wizard just filter out non-server certificates from the Server Certificate Selection dropdown.

This is in contrast to the vpn_openvpn_server.php which shows the user all certificates, let's you select a non-server certificate, but then displays an error when trying to save (screenshot of error in issue report.) We can echo this behavior if you think this is a better UX.

@AdSchellevis
Copy link
Member

@johnaheadley Looks good apart from some minor psr remarks. I agree we can better filter the options in the wizard. The wizard itself isn't very great (code is quite messy), but is difficult to phase out now, it's always good to smoothen the edges a bit :) Thanks!

@AdSchellevis AdSchellevis merged commit 06fb809 into opnsense:master Aug 7, 2019
@AdSchellevis
Copy link
Member

@johnaheadley thanks!

fichtner pushed a commit that referenced this pull request Oct 30, 2019
PR: #3614, #3634

(cherry picked from commit 2b2ae7a)
(cherry picked from commit 3b865f3)
(cherry picked from commit 06fb809)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants