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

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

Closed
behnammby opened this issue Aug 15, 2020 · 4 comments
Closed

Comments

@behnammby
Copy link

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

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

@behnammby
Copy link
Author

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

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

as the keys there is changeme

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

No branches or pull requests

3 participants