azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.1k stars 112 forks source link

Master #116

Closed InterN0te closed 10 months ago

InterN0te commented 10 months ago

Allow self-signed certificat when TLS is enable

cla-bot[bot] commented 10 months ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.

cla-bot[bot] commented 10 months ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.

azukaar commented 10 months ago

Could you make this an option? just needs to add AllowInsecureTLS to the email config item, and add a checkbox to the email configuration part (let me know if you're not comfortable doing it)

cla-bot[bot] commented 10 months ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.

azukaar commented 10 months ago

Did you test this? I doubt it will compile since you havent added the type to the utils/type.go file