-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ANAME verification for LetsEncrypt Certificates #755
Comments
@abovethewater we've recently added support for wildcards to platforms. Let us know if this is still relevant and feel free to reopen if so |
@brandonroberts I'm not sure this is the same thing You have on mind. Its not about adding a domain to the platform so it'll be recognized/cookies will be accepted etc. but about setting a LetsEncrypt certificate on the (sub)domain that's connected to the server AppWrite is hosted on. I'm also having this problem and as adding a certificate to 'domain.com' is easy 'whatever.domain.com' is not. Or it's me who doesnt understand what You are talking about :D |
@brandonroberts Yes, exactly what Pastajello said. Does appwrite support requesting wildcard certificates from Letsencrypt ? |
@rhengles I'm not sure about wildcards, but its possible to get a subdomain working: And then on vps a command where you put image: |
馃殌 Feature
Support ANAME verification for HTTPS certificate generation
Have you spent some time to check if this issue has been raised before?
Issue created after discord discussion.
Only CNAME is allowed, but ANAME shouldn't be a major issue to add.
Have you read the Code of Conduct?
Yes
Pitch
A CNAME must point to an existing name, never an IP.
In the instance that a subdomain is created purely for AppWrite (e.g. api.mydomain.com), then a CNAME will not exist.
An ANAME can point to an IP address.
My personal workflow when installing AppWrite for the first time was to:
Read the documentation.
Create a DO Docker droplet (1CPU / 2GB)
Install AppWrite following the installation instructions
When prompted for the hostname (default localhost), I relaised I would need to choose a relevant name.
I then created a DNS entry for api.mydomain.com as an ANAME referencing the DO droplet created earlier.
Returned to installer and added that as the host.
Continued through setup until complete.
Upon completion of installation, I was able to access api.mydomain.com via a web browser, and AppWrite was fully working (fantastic result! No idea how often the first time install fails on many projects!)
The page however was not available via HTTPS via the browser as it uses a self-signed cert.
Following documentation for custom domains, I then created an extra CNAME for app.mydomain.com, which pointed to api.mydomain.com. Adding and verifying this in the console resulted in HTTPS being available for app.mydomain.com.
My suggestion would be to:
Notes:
Thanks, and keep up the good work.
The text was updated successfully, but these errors were encountered: