Adding SSL to Subdomain via API

I am able to create a user and add a subdomain via the REST API . Now I would like to add / enable the ssl which can be done from the front end UI with the checkbox that appears on the dns screen edit screen /edit/web …

Is there any way I can accomplish the same via the API as I am not sure which v- xxxxx script to call.

3rd party ssl? Or you want to generate a self signed certificate?

I think in the first case as your currently can’t upload a zip file or upload into a directory

For the last method

Run v-generate-ssl-cert and provide the path return in v-add-web-domain-ssl

If I had a ssl in cloudflare and created a subdomain there then could I just call this — > v-add-letsencrypt-domain [USER] [FINAL_SUBDOMAIN] eg : v-add-letsencrypt-domain u100 u100a.mydomain.com ? or I need to do what you said above ? and what would be the difference ? Run v-generate-ssl-cert and provide the path return in v-add-web-domain-ssl

v-add-letsencrypt-domain [USER] [FINAL_SUBDOMAIN]

Will work fine
(Un less you want to specify any aliases than

v-add-letsencrypt-domain u100 u100a.domain.comu100b.domain.com,u100b.domain.com

thankyou

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.