Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to verify the first certificate -- openssl #84

Open
iszhi opened this issue Oct 24, 2022 · 2 comments
Open

unable to verify the first certificate -- openssl #84

iszhi opened this issue Oct 24, 2022 · 2 comments

Comments

@iszhi
Copy link

iszhi commented Oct 24, 2022

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
Copy link
Owner

nibdo commented Oct 29, 2022

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
Copy link

Zlendy commented Oct 30, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants