Skip to main content

AutoSSL options cli?

Comments

5 comments

  • cPanelHB
    Hello, If you have root access to the server, you can use the whmapi1 command "set_autossl_metadata_key". We have documentation here on how to use it.
    0
  • coursevector
    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
  • cPanelHB
    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
  • coursevector
    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
  • coursevector
    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.