nibdo / bloben-app

Calendar client for CalDAV
https://bloben.com
GNU Affero General Public License v3.0
192 stars 8 forks source link

unable to verify the first certificate -- openssl #84

Open iszhi opened 1 year ago

iszhi commented 1 year ago

I'm self-hosting this bloben-app, an connect my self-hosted davcal server. To make sure the saft, I signed the SSL by using openssl. However, the app didn't verify it by default. Could you please add some function like, ALLOW_SELFSIGNED to help the users like me?

nibdo commented 1 year ago

Hello, I think this should be something which you will have to add outside of Bloben. App container by default doesn't have certification included.

For self signing something like this might work https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-20-04-1

Zlendy commented 1 year ago

This is already possible, you just need to add the following variable to .env NODE_TLS_REJECT_UNAUTHORIZED=0 NOTE: This is a horrible security practice, do NOT expose bloben to the internet if you use this.