You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
die(); // exit with a valid error code, as this is intended behaviour
}
...it can be activated nonetheless.
Why is this useful? Well, if you have a PFsense cluster and add a new certificate on the master, it will be copied to the slave, but it won't be set as Web GUI certificate there. So your script currently will just die on the slave, but it should activate the cert there even when it already exists (but is not yet set as Web GUI cert).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, the script exits if it finds the given certificate in the existing config. By adding
before the
die()
in line 78 in this block:pfsense-import-certificate/pfsense-import-certificate.php
Lines 75 to 79 in a1dc6bf
Why is this useful? Well, if you have a PFsense cluster and add a new certificate on the master, it will be copied to the slave, but it won't be set as Web GUI certificate there. So your script currently will just die on the slave, but it should activate the cert there even when it already exists (but is not yet set as Web GUI cert).
The text was updated successfully, but these errors were encountered: