View previous topic :: View next topic |
Author |
Message |
hanj Veteran
Joined: 19 Aug 2003 Posts: 1490
|
Posted: Fri Apr 10, 2020 6:01 pm Post subject: Issue with mkpop3dcert (gendh invalid command) |
|
|
Trying to create a self-signed cert for POP set up. In the past, I have no problems, but today, I'm running into the following...
Code: | Generating a RSA private key
........................................+++++
................................+++++
writing new private key to '/etc/courier-imap/pop3d.pem'
-----
Invalid command 'gendh'; type "help" for a list. |
Here are the pertinent packages:
Code: |
[ebuild R ] dev-libs/openssl-1.1.1f:0/1.1::gentoo USE="asm zlib -bindist -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB
[ebuild R ] net-mail/courier-imap-5.0.7::gentoo USE="berkdb gdbm -debug -fam -gnutls -ipv6 -libressl (-selinux) -trashquota" 3220 KiB |
Here is my cnf
Code: | RANDFILE = /etc/courier-imap/pop3d.rand
[ req ]
default_bits = 4096
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
C=US
ST=REMOVED
L=REMOVED
O=REMOVED
OU=Automatically-generated POP3 SSL key
CN=REMOVED
emailAddress=REMOVED
[ cert_type ]
nsCertType = server |
Any ideas?
Thanks!
hanji _________________ Server Admin Blog - Uno-Code.com |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2960 Location: Edge of marsh USA
|
Posted: Sat May 08, 2021 4:28 pm Post subject: |
|
|
See the post at https://forums.gentoo.org/viewtopic-t-1104108-highlight-gendh.html and apply the same kind of fix. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|