- 论坛徽章:
- 0
|
proftpd+ssl如何配置?
哇塞,居然没有人知道!
我现在已经用openssl自己签发了证书,并将crt和key文件的路径配置在了配置文件的TSL部分也做了修改,如下:
# TLS
# Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
TLSEngine on
TLSRequired on
TLSRSACertificateFile /etc/proftpd/server.crt
TLSRSACertificateKeyFile /etc/proftpd/server.key
TLSCipherSuite ALL:!ADH:!DES
TLSOptions NoCertRequest
#TLSOptions AllowDotLogin
TLSVerifyClient off
TLSRenegotiate ctrl 3600 data 512000 required off timeout 300
TLSLog /var/log/proftpd/tls.log
# A basic anonymous configuration, with an upload directory.
启动服务器以后没有错误,使用ftp带ssl的连接方式的时候,也没有发生以前提示的说证书被拒绝的错误,但是一直处于“Socket 已连接。正在等候欢迎消息”的状态,过一段时间以后就超时,日志显示
Mar 24 15:12:12 mod_tls/2.0.5[13506]: using default OpenSSL verification locations (see $SSL_CERT_DIR)
Mar 24 15:13:12 mod_tls/2.0.5[13506]: error: '/etc/proftpd/server.key': error:0906406D EM routines EF_CALLBACK:problems getting password
请问是怎么回事情?我的证书制作是按照openssl手动建立apache证书帖子上的方法做的,不知道有什么地方有问题呢?还请高手帮忙,谢谢! |
|