SSL Basic – Install/Deploy WebApp SSL
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
“letsencrypt” , “custom” or “csr”
SSL Protocol. You can get this value from Static Data API. It will use latest possible value if not supplied.
authorizationMethod
string
optional“http-01” or “dns-01” required if provider is “letsencrypt”
id of external api for cloudflare, required if authorizationMethod is dns-01
“live” or “staging” environment, required if provider is “letsencrypt”
RSA Private Key, required if provider is “custom”
RSA Public Key, required if provider is “custom”
“rsa-2048”, “ecdsa-p384”, “ecdsa-p256” and “rsa-4096”, Optional, can be use if provider is "csr", default value is "rsa-2048"
Your organization name, Optional, can be use if provider is "csr", default value was "RunCloud Organization"
Your department name, Optional, can be use if provider is "csr", default value was RunCloud Department
Your city name, Optional, can be use if provider is "csr", default value for city where RunCloud Organization has been found
Your state name, Optional, can be use if provider is "csr", default value for state where RunCloud Organization has been found
Your country name, Optional, can be use if provider is "country", default value for country where RunCloud Organization has been found
{
"advancedSSL" : true,
"autoSSL" : false
}
Request samples
curl --location -g --request POST 'https://manage.runcloud.io/api/v3/servers/{{serverId}}/webapps/{{webappId}}/ssl' \
--header 'Content-Type: application/json' \
--data-raw '{
"advancedSSL" : true,
"autoSSL" : false
}'
Responses
application/json Modified at 2024-10-16 08:58:26