[SOLVED] DKIM - selector creation failing

May 11, 2020
2
1
3
44
Hi,

I installed a fresh PMG on Saturday (Version 6.2-3) and restored the configuration from a 5.x installation. Everything is working fine.

Now I found the DKIM option, and I want to give it a try. When I want to create the selector (for example may2002) it returns with the error message

unable to set DKIM key (may2020 - 2048 bits): command 'openssl genrsa -out /etc/pmg/dkim/may2020.private 2048' failed: exit code 1 (500)

The directory /etc/pmg/dkim isn't existing, so just my question: Is it fine that I manually create the directory?

Best regards
Jan Serve
 
The directory /etc/pmg/dkim isn't existing, so just my question: Is it fine that I manually create the directory?
could you try reinstalling 'pmg-api' - that should also create the directory:
`apt install --reinstall pmg-api`)

else you can also manually create it

I hope this helps!
 
  • Like
Reactions: Jan Serve
Glad that solved the issue - please mark the thread as 'SOLVED' - this helps other users with a similar problem

Thanks!
 
  • Like
Reactions: Jan Serve