./install_api
Failed to match /etc/pki/tls/certs/hostname.bundle and /etc/pki/tls/private/hostname.key
./generate_hostname_ssl
Generating RSA private key, 2048 bit long modulus
.+++
..........................+++
e is 65537 (0x10001)
writing RSA key
Signature ok
subject=/C=HR/ST=Zagreb/O=CentOS Web Panel/L=HR/CN=localhost/OU=CentOS Web Panel/emailAddress=info@centos-webpanel.com
Getting Private key
Redirecting to /bin/systemctl restart postfix.service
Redirecting to /bin/systemctl restart dovecot.service
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl restart nginx.service
Redirecting to /bin/systemctl restart pure-ftpd.service
[root@cwp scripts]# ./install_api
Redirecting to /bin/systemctl reload cwpsrv.service
[root@cwp scripts]# ./check_api
User API port 2302 check: OK
Oauth query check: OK
User API folder check: OK
External API port 2304 check: OK
External API files and htaccess : OK
CSF Firewall status check: ENABLED
TCP_IN for port 2304 set in /etc/csf/csf.conf: OK
TCP_OUT for port 2304 set in /etc/csf/csf.conf: OK
thanks for the help