openware / barong

Barong auth server
https://www.openware.com
Apache License 2.0
139 stars 262 forks source link

mailer OpenSSL::PKey::PKeyError: Could not parse PKey: no start line #1135

Closed behnammby closed 3 years ago

behnammby commented 4 years ago

Hi community! I have this error in barong/mailer and no mail is sent: OpenSSL::PKey::PKeyError: Could not parse PKey: no start line

I tried changing config/initializers/barog.rb --> ssl: false, not working --> setting ca_file: not working

alcoxbiz commented 4 years ago

any solution for this error ? Got it on any system Ubuntu / Debian / CentOS

behnammby commented 4 years ago

I got this error on Debian 10. I inspected the error:

The error raised when mailer was about to read management_api.yml where the ssl key is located.

I removed everything and installing opendax again but with different versions and now it's gone. I don't remember the previous versions I'd used.

I believe It was probably caused by inappropriate versions of images!

Sorry for incomplete information.

alcoxbiz commented 4 years ago

Login into your barong docker: docker-compose exec barong bash Install nano and edit config/mailer.yml Put your keys inside which you can find under opendax config mailer.yml Then change in the barong mailer.yml all from en: to EN: open Port 2525

This solved my issue

alcoxbiz commented 4 years ago

as the keys there is changeme