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

system: add backend call to renew self-signed web GUI certificate #4567

Closed
2 tasks done
fichtner opened this issue Jan 4, 2021 · 0 comments
Closed
2 tasks done

system: add backend call to renew self-signed web GUI certificate #4567

fichtner opened this issue Jan 4, 2021 · 0 comments
Assignees
Labels
feature Adding new functionality
Milestone

Comments

@fichtner
Copy link
Member

fichtner commented Jan 4, 2021

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

The web GUI does not automatically renew its own a self-signed certificate. See this (German) thread for example:

https://forum.opnsense.org/index.php?topic=4008.0

Describe the solution you'd like

A new backend call should be added to renew the certificate / issue a new one:

# configctl webgui restart renew

There are some edge cases to this (non-standard certificate, etc.) but for now this would help users to recover or to automate the process somewhat and we can build on it later on.

Also, during interface setup (setaddr.sh) we can ask for regeneration after making sure the user didn't want to revert to HTTP.

Describe alternatives you've considered

There is no alternative to eventually renewing a certificate, especially if it is expired or blocked by a browser. The web GUI may not be accessible for this reason so we need a console-based solution which can later be automated.

Additional context

Related to #805

@fichtner fichtner added the feature Adding new functionality label Jan 4, 2021
@fichtner fichtner added this to the 21.1 milestone Jan 4, 2021
@fichtner fichtner self-assigned this Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

No branches or pull requests

1 participant