你好,
我有一個關於ssl的問題想請教:
我確定我的系統有openssl的指令,但是當我./configure的時候並沒有出現SSL的選項.
後來我用 ./configure --with-ssl, Check出ssl support是OK的(我的網站是成功架出https://myhome.com的), make完以後接make install, 然後修改smbftpd.conf,把ssl相關的設定都打開.
啟動smbftpd沒問題,但是在測試tls的時候,出現以下的訊息:
504 AUTH: security mechanism 'TLS' not supported.
接著我就把DebugMode打開, 但是找不到SSLDebugMode... 所以我自行加了SSLDebugMode Yes...重新啟動smbftpd, 再測試一次,然後去尋找debug log, 赫然發現Debug log並沒有出現. 觀查xferlog的時候發現:
param.c (153) Skip unknown option SSLDebugMode
param.c (153) Skip unknown option SSLDebugLog
請問我是哪邊弄錯了呢? 我都是照著您的steps來做的.
先謝謝您了.
請問您用的是哪一個版本的 smbftpd?
新版已無 SSLDebugMode 這個選項.
如果要 enable SSL, 只要加上下列參數在 smbftpd.conf 中
SecurityPolicy both
EncryptionType both
SSLCertFile /usr/local/etc/apache22/server.crt
SSLKeyFile /usr/local/etc/apache22/server.key