AutoSSL options cli?
I looked but couldn't find this. Is there a CLI for setting the AutoSSL options? I know you can change the SSL provider, but not the notification options. Does the API exist?
Options - User Notifications
Options - Administrator Notifications
Options - Allow AutoSSL to replace invalid or expiring non-AutoSSL certificates.
-
Ok, that does help. Although I see it does not match 1:1. Can you explain how the 12 settings match up tot he 2 radio groups? 0 -
Hello, I can. Notify the user for all AutoSSL events and normal successes
-- This radio option sets all of the user level notify keys to 1.Notify the user for AutoSSL certificate request failures, warnings, and deferrals.
-- This one sets the following combination of keys:"notify_autossl_expiry_coverage_user": 1, "notify_autossl_expiry_user": 1, "notify_autossl_renewal_coverage_reduced_user": 1, "notify_autossl_renewal_coverage_user": 1, "notify_autossl_renewal_uncovered_domains_user": 1, "notify_autossl_renewal_user": 0
Notify the user for AutoSSL certificate request failures only
-- This sets the following combination of keys:"notify_autossl_expiry_coverage_user": 1, "notify_autossl_expiry_user": 1, "notify_autossl_renewal_coverage_reduced_user": 1, "notify_autossl_renewal_coverage_user": 1, "notify_autossl_renewal_uncovered_domains_user": 0, "notify_autossl_renewal_user": 0
Disable AutoSSL user notifications
-- sets all of the user level notify keys to 0. The same goes for the Administrator notifications, but using the administrator keys rather than the user keys. I hope this clarifies things.0 -
This helps, I assume the same is true for the non-user ones? And it took me a second to figure out the difference between set_autossl_metadata_key and set_autossl_metadata, where the latter is (semi) deprecated. But I noticed in the documentation for set_autossl_metadata_key it doesn't list notify_autossl_renewal_user whereas set_autossl_metadata does. Maybe you could get someone to verify the documentation between the two if they are equivalent APIs? Thanks! 0 -
Sorry, i meant it doesn't list notify_autossl_expiry_user. I went and compared the lists and that was the only one missing. 0
Please sign in to leave a comment.
Comments
5 comments