[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[postfix-jp:1049] unable to get private key (pfixtls)
- Subject: [postfix-jp:1049] unable to get private key (pfixtls)
- From: Tomohiro Yamauchi ($B;3Fb(B $BJ~9@(B) <handy@xxxxxxxxx>
- Date: Fri, 07 Sep 2001 18:39:26 +0900 (JST)
$B;3Fb$G$9!#(B
(B
(Bpfixtls $B$G(B STARTTLS $B$K%A%c%l%s%8$7$F$$$k$N$G$9$,!"(B
$B$H$j$"$($:@_Dj$7$?$D$b$j$N%5!<%P$K(B telnet $B$7$F$_$k$H(B
(B
(Bunable to get private key from '/usr/local/postfix/etc/tls/key.pem'
(Berror:0906406D:PEM routines:DEF_CALLBACK:problems getting password:pem_lib.c:114:
(Berror:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:430:
(Berror:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:missing asn1 eos:ssl_rsa.c:707:
(BTLS engine: cannot load RSA cert/key data
(B
$B$H$$$&%m%0$,=PNO$5$l$^$9!#0J2<$K$d$C$?$3$H$r=q$-$^$9$,2?$,$$$1$J$$$N$G$7$g$&!)(B
$B!t(B passphrase $B$J$s$+(B postfix $B$K65$($F$J$$$N$GEv$jA0$H8@$($P(B
$B!t(B $BEv$jA0$J5$$,$9$k$N$G$9$,!%!%!%2?$7$m(B CA $B$H$+!"(BPKI $BE*$JOC$O(B
$B!t(B $BM}2r$7$F$$$k$H$O8@$$Fq$$$N$G(B (^^; $BBg%\%1$+$^$7$F$k$s$@$m$&$J$!!#(B
$B$*$o$+$j$K$J$kJ}$,$$$i$C$7$c$$$^$7$?$i$h$m$7$/$*4j$$$7$^$9!#(B
(B
(B
(Bmain.cf $B$K$O2<5-$rDI2C$7$^$7$?!#(B
(B
(Bsmtpd_tls_key_file = /usr/local/postfix/etc/tls/key.pem
(Bsmtpd_tls_cert_file = /usr/local/postfix/etc/tls/cert.pem
(Bsmtpd_tls_CAfile = /usr/local/postfix/etc/tls/cacert.pem
(Bsmtpd_tls_loglevel = 4
(Bsmtpd_tls_received_header = yes
(Bsmtpd_use_tls = yes
(B
(B
$B>ZL@=q$K$D$$$F$O2<5-$N$3$H$r9T$$$^$7$?!#(B
(B
(B% openssl req -new -x509 -keyout key.pem -out key.pem -days 365
(B% openssl ca -policy policy_anything -out cert.pem -infiles key.pem
(B
(Bcacert.pem $B$O=pL>$r9T$C$?(B CA $B$N(B cacert.pem $B$r%3%T!<$7$F$-$^$7$?!#(B
$B!t(B $B<+A0$G(B CA $B$r9=C[$7$F$$$^$9!#(B
(B
(B--
$B;3Fb(B $BJ~9@(B handy@xxxxxxxxx
- Follow-Ups
-
- [postfix-jp:1050] Re: unable to get private key (pfixtls), Akira KUBO
[$B8!:w%Z!<%8(B]
[Postfix-JP ML Home]