Actions28
- Domain Actions
- DNS Record Actions
- SSL Actions
- User Actions
Overview
The node integrates with the Namecheap API to manage SSL certificates. Specifically, the SSL Create operation allows users to register a new SSL certificate for their domain through Namecheap's services. This is useful for automating SSL certificate procurement as part of website deployment or maintenance workflows.
Common scenarios include:
- Automatically ordering SSL certificates when provisioning new domains.
- Renewing or upgrading SSL certificates without manual intervention.
- Managing different types of SSL certificates based on validation level and domain coverage.
Example use case: A user wants to programmatically order a Positive SSL certificate valid for one year for a newly registered domain, ensuring secure HTTPS connections from the start.
Properties
| Name | Meaning |
|---|---|
| Certificate Type | The type of SSL certificate to create. Options: - Positive SSL (Domain validation, single domain) - Essential SSL (Domain validation, single domain) - Instant SSL Pro (Organization validation, single domain) - Premium SSL Wildcard (Organization validation, wildcard domain) |
| Years | Number of years to register the certificate for. Allowed values: 1 or 2 |
Output
The node outputs a JSON object containing:
success: Boolean indicating if the operation succeeded.data: The response data returned by the Namecheap API for the created SSL certificate. This typically includes details about the certificate order such as order ID, status, and validity period.
No binary data output is indicated in the source code.
Dependencies
- Requires an active connection to the Namecheap API.
- Needs an API authentication credential configured in n8n (an API key or token).
- The node depends on internal classes handling SSL operations (
Sslclass), which interact with the Namecheap API endpoints.
Troubleshooting
- Unknown Operation Error: If an unsupported operation is selected, the node throws an error specifying the unknown operation for the SSL resource.
- API Authentication Failures: Ensure that the API credentials are correctly set up and have sufficient permissions.
- Invalid Property Values: For example, setting "Years" outside the allowed range (1-2) may cause errors.
- Network Issues: Connectivity problems with the Namecheap API will result in request failures.
To resolve errors:
- Verify the selected certificate type matches available options.
- Confirm API credentials and network connectivity.
- Check the input parameters conform to expected types and constraints.
Links and References
- Namecheap SSL Certificates
- Namecheap API Documentation (for detailed API endpoint info)