Entri Secure makes it easy to provision SSL certificates for your customers’ domains.
applicationUrl
, which is the URL of the application that responds to requests coming from your clients’ URLs. This is also commonly referred to as an origin server.cname_target
. This is the CNAME record that your customers need. It needs to be pointed to ssl.goentri.com
and will be the target domain for your clients’ requests, providing a layer of security and encryption.saascompany.com
. You would first create a CNAME record:
ssl: true
, to the CNAME record that will be set by Entri (as shown in the configuration object below) and set value
to be {CNAME_TARGET}
.
{CNAME_TARGET}
will automatically use the CNAME target entered in the dashboard in step 1.
cname_target
record. Without this CNAME record added to your customer’s DNS, Entri cannot provision an SSL certificate.
Additionally, if the user has a conflicting CAA record, Entri will automatically fix it during the DNS setup process.
applicationUrl
key, whenever you need to override the applicationUrl configured on your Customer Dashboard.
GET
request to our API which confirms that the domain you want to issue the SSL certificate for contains a CNAME record pointing to your cname_target
Use the following information for the GET
Request:
<https://api.goentri.com/ssl
>Authorization
header: The authorization JWT. You can Fetch your JWT using your Client Secret set in the configure section of the Entri Dashboard.applicationId
header: Your applicationId
can be found in the configure section of the Entri Dashboard.domain
in the GET
request body. domain
must contain a subdomain such as **www.**domain.com or site.domain.comcurl
:cname_target
and the ssl certificate hasn’t been provisioned yet, then our API will return "eligible": true
. If it does not contain cname_target
and/or it already has a provisioned certificate, then our API will return "eligible": false
.
The rootDomain=true
parameter is used for whenever you are trying get the root domain’s SSL status (not the subdomain).
GET
request returned "eligible": true
then you can proceed to the next step below.
POST
request in Step 2
(below) unless the domain returned "eligible": true
in theGET
request from
Step 1. Otherwise, the POST
request will be denied.cname_target
and therefore is eligible for an SSL certificate, you can proceed with provisioning the SSL certificate via a POST
request to our endpoint as detailed below:
<https://api.goentri.com/ssl
>Authorization
header: The authorization JWT. You can Fetch your JWT using your Client Secret set in the configure section of the Entri Dashboard.applicationId
header: Your applicationId
can be found in the configure section of the Entri Dashboard.domain
in the POST
body. domain
may contain a subdomain such as **www.**domain.com or site.domain.com if you want to add an SSL for a subdomain, or use a root domain.curl
:
"secure_status": "success"
in the webhook payload.
Host
value of the incoming request before any proxy or load balancer has modified it. It helps in identifying the initial destination for the request.
X-Forwarded-Host
, this is a custom header used by Entri to track the original host at the time the request was forwarded through Entri’s system.
<https://api.goentri.com/ssl
>Authorization
header: The authorization JWT. You can Fetch your JWT using your Client Secret set in the configure section of the Entri Dashboard.applicationId
header: Your applicationId
can be found in the configure section of the Entri Dashboard.domain
in the PUT
body. domain
must contain a subdomain such as **www.**domain.com or site.domain.comcurl
:
DELETE
request to our API using the following information:
<https://api.goentri.com/ssl
>Authorization
header: The authorization JWT. You can Fetch your JWT using your Client Secret set in the configure section of the Entri Dashboard.applicationId
header: Your applicationId
can be found in the configure section of the Entri Dashboard.domain
in the DELETE
request body. domain
must contain a subdomain such as **www.**domain.com or site.domain.comcurl
: