Author Topic: SSL and hostname correct setup.  (Read 5211 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SSL and hostname correct setup.
« on: January 13, 2019, 02:38:53 PM »
Hi there,
1) I have setup  centos web panel 7 on https://srv1.foodiebaba.in
Then It generates Self Signed 1 year SSL certificate , which shows error while browsing.
2) I also have my website https://foodiebaba.in for which I installed SSL from Auto SSL n working fine with it and its other sub domain.
3) But I am not able to set SSL trusted certificates for Hostname.
4) Cause due to this ftp and smtp are not working. Even I am able to configure and send mails from windows client. But php mail function is not working.
My DNS record are as follows


Zone:
foodiebaba.in   
Serial:
2019011121
Refresh:

28800
Retry:

7200
Expire:

1209600
TTL:

7200
NS1:

ns1.centos-webpanel.com
NS2:

ns2.centos-webpanel.com
    
Host     Type       Destination   
@               A        64.52.84.205
 
@             MX 10   mail.foodiebaba.in

@             MX 10   mail.foodiebaba.in

@             TXT       v=spf1 a mx include:_spf.elasticemail.com ~all

ftp             A         64.52.84.205

help           A         64.52.84.205
 
mail           A       64.52.84.205

srv1          A          64.52.84.205
 
www         A          @

Alo tried to install free ssl but no any methode works no TXT record , no ftp upload etc.
_acme-challenge.srv1.foodiebaba.in  TXT    HnlEKy2OAnxAU3sMyTewAkIdPU_nZMMWc3pzlMSXvWw

Everything except hostname ssl SMTP PHP mail() and FTP not working.
FTP shows failed, And error code 252 :
 
Some part of log

Jan 13 14:37:43 srv1.foodiebaba.in systemd[1]: Failed to reset devices.list on /system.slice/pure-ftpd.service: Operation not permitted
Jan 13 14:37:43 srv1.foodiebaba.in systemd[1]: Starting Pure-FTPd FTP server...
-- Subject: Unit pure-ftpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit pure-ftpd.service has begun starting up.
Jan 13 14:37:43 srv1.foodiebaba.in pure-ftpd[726424]: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted
Jan 13 14:37:43 srv1.foodiebaba.in systemd[1]: pure-ftpd.service: control process exited, code=exited status=252
Jan 13 14:37:43 srv1.foodiebaba.in systemd[1]: Failed to start Pure-FTPd FTP server.
-- Subject: Unit pure-ftpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit pure-ftpd.service has failed.
--
-- The result is failed.
Jan 13 14:37:43 srv1.foodiebaba.in systemd[1]: Unit pure-ftpd.service entered failed state.
Jan 13 14:37:43 srv1.foodiebaba.in systemd[1]: pure-ftpd.service failed.