Creating User Based AutoSSL
I want to implement autoSSL features for any user in our system.
When the enduser in the system hit the "create free ssl" button, system will call the CPanel API and enable autossl for the current user.
I couldnt find the targeted api function. I have looked (start_autossl_check_for_one_user and add_override_features_for_user) but those are not the condition.
kind regards
-
i got it thank you 0 -
i got it thank you
Hello, Would you mind sharing the solution you decided to use in-case someone else has the same question? Thanks!0 -
Like the way below CPanelXMLAPI xmlap = new CPanelXMLAPI(_host,_user,_pwd); v2.Key = "api.version"; v2.Value = "1"; v3.Key = "features"; v3.Value = "{\"autossl\":1}"; v4.Key = "user"; v4.Value = userName; string result1 = xmlap.XMLAPIQuery("add_override_features_for_user?", new List { v4, v2, v3 }); 0
Please sign in to leave a comment.
Comments
3 comments