{"id":986,"date":"2018-11-14T22:51:08","date_gmt":"2018-11-14T15:51:08","guid":{"rendered":"https:\/\/www.whplus.com\/blog\/?p=986"},"modified":"2018-11-14T22:51:08","modified_gmt":"2018-11-14T15:51:08","slug":"pure-ftpd-cannot-connect-with-tls-ssl","status":"publish","type":"post","link":"https:\/\/www.whplus.com\/blog\/2018\/11\/14\/pure-ftpd-cannot-connect-with-tls-ssl.html","title":{"rendered":"Pure-FTPD cannot connect with TLS\/SSL"},"content":{"rendered":"<p>Pure-FTPD cannot connect with TLS\/SSL. FileZilla log shows this and then everything stop\/halt<\/p>\n<p><code>Status:   Resolving address of ftp.mydomain.com<br \/>\nStatus:   Connecting to XXX.XXX.XXX.XXX:21...<br \/>\nStatus:   Connection established, waiting for welcome message...<br \/>\nStatus:   Initializing TLS...<\/code><\/p>\n<p>When restarting pure-ftpd in WHM and this reveals the following message<br \/>\n<code>...<br \/>\nFeb 22 23:14:47 host pure-ftpd[20248]: (?@?) [DEBUG] Couldn't load the DH parameters file \/etc\/ssl\/private\/pure-ftpd-dhparams.pem<br \/>\npureftpd restarted successfully.<\/code><\/p>\n<p>To solve the issue run the following commands :<\/p>\n<p><code>openssl dhparam -out \/etc\/ssl\/private\/pure-ftpd-dhparams.pem 2048<br \/>\n\/scripts\/restartsrv_pureftpd<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pure-FTPD cannot connect with TLS\/SSL. FileZilla log shows this and then everything stop\/halt Status: Resolving address of ftp.mydomain.com Status: Connecting to XXX.XXX.XXX.XXX:21&#8230; Status: Connection established, waiting for welcome message&#8230; Status: Initializing TLS&#8230; When restarting pure-ftpd in WHM and this reveals the following message &#8230; Feb 22 23:14:47 host pure-ftpd[20248]: (?@?) [DEBUG] Couldn&#8217;t load the DH\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.whplus.com\/blog\/2018\/11\/14\/pure-ftpd-cannot-connect-with-tls-ssl.html\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-986","post","type-post","status-publish","format-standard","hentry","category-tutorial"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/comments?post=986"}],"version-history":[{"count":1,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/986\/revisions"}],"predecessor-version":[{"id":987,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/986\/revisions\/987"}],"wp:attachment":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/media?parent=986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/categories?post=986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/tags?post=986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}