Moderator
So I have an Appwrite instance up and I had it on non-standard ports, but I reran the install script with standard ports and now it is still not-ssl, how can I use custom certs? Should I mpodify the docker-compose traefik labels?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
So I have an Appwrite instance up and I had it on non-standard ports, but I reran the install script with standard ports and now it is still not-ssl, how can I use custom certs? Should I mpodify the docker-compose traefik labels?
Is the server exposed on port 80 too?
Check the worker certificates logs
Moderator
yes
Moderator
okay
Moderator
lol
Moderator
Moderator
it thinks .ai is not a valid domain
Moderator
but regardless, I have a certificate
Moderator
generated by my employer that he wants to use
Hmmm maybe ya
Moderator
so is there a way for me to use custom certs? If not that would be a great addition lol, not all certs are gonna be automatic
You could have something in front handling that or do something with traefik
Moderator
gotcha
Moderator
I'll set it up with Traefik, I might have to modify it to include the certs though somehow
Moderator
hey is there any way to access appwrite env inside client?
Moderator
or only functions?
Moderator
would be nice to have a section in config to just add custom certs
Moderator
then have the .env _USE_CUSTOM_SSL_CERTS or something
Moderator
and if true and they are defined then pull from user defined location
Moderator
I'd prefer an upload but idk how secure that is comparatively
Look at how Appwrite does it. Maybe it'll work if you add an entry manually (certificates and config volumes)
Moderator
copy
Moderator
I'll try it out
Moderator
should I try to mount the folder in its place