Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issue with mkpop3dcert (gendh invalid command)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Fri Apr 10, 2020 6:01 pm    Post subject: Issue with mkpop3dcert (gendh invalid command) Reply with quote

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
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2960
Location: Edge of marsh USA

PostPosted: Sat May 08, 2021 4:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum