php 5.6 ssl verify error

New problem in town . A server could not send e-mail using php . But can connect using telnet . stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:#012error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Some error from php class. Well it appear that there is no cert on server php -r “print_r(openssl_get_cert_locations());” Array ( [default_cert_file] => /etc/pki/tls/cert.pem [default_cert_file_env] => SSL_CERT_FILE [default_cert_dir] => /etc/pki/tls/certs [default_cert_dir_env] => SSL_CERT_DIR [default_private_dir] => /etc/pki/tls/private [default_default_cert_area] => /etc/pki/tls [ini_cafile] => [ini_capath] => ) For me this file was not there /etc/pki/tls/cert.pem After I run update-ca-trust I have copy the file /etc/pki/tls/certs/ca-bundle.crt to /etc/pki/tls/cert.pem and it worked . More information can be found here Trusting additional CAs in Fedora / RHEL / CentOS: an alternative to editing /etc/pki/tls/certs/ca-bundle.crt (or...
read more

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Today I wanted to upgrade a php webserver with php5.6 . However the epel didn’t work . After a yum clean all got this title error Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again To fix this I needed to upgrade the ceritiface without epel . yum upgrade ca-certificates –disablerepo=epel After this all works.
read more

There was a problem removing the alias. Park::unpark( ) failed: You cannot unpark a user’s main domain name.

Today I have another cpanel problem. Someone manage to add a domain as parking one and after this manage to create a main account also . Because the parking domain was first on httpd.conf vhosts when I was trying to access domain actually vhost was on parked one.  When I try to delete the parking from account the title of this subject was the error of the cpanel. “There was a problem removing the alias. Park::unpark( ) failed: You cannot unpark a user’s main domain name.” So how to fix this ? Well first of all you will have a dns1 ( line on /var/cpanel/users/useraccount ) I delete this line but wasn’t enough . After some seach I find out that is also located into /var/cpanel/userdata/username/ There are some files that they say not to modify them , but comparing to files one with parked and one without I figure it out what is the syntax. So I made a backup of original files and modify those from there  and delete parked domain . After this you must run /scripts/updateuserdomains After I rebuild httpd.conf the domain was ok . /scripts/rebuildhttpdconf Hope this article will give some hint for someone else also . The link that help me was from here https://forums.cpanel.net/threads/error-from-domain-wrapper-subdomain-does-not-exist-for-user-solution.221782/ Also it appear this will influence...
read more

How to scroll bottom down or top in linux mc

Well  I try t lot like in other editor ctrl+home or ctrl+end but is not working In mc to scroll down or top you have to alt +> or  alt +<
read more

hotmail ip delisting

Well first of all you need to enroll into  the snds program . https://postmaster.live.com/snds/JMRP.aspx   And after you believe that all stuff on server are ok then you send a request to https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3&ccsid=635688189955348624&wa=wsignin1.0
read more

qmail with plesk

Some short commands List out all messages currently in queue by running: /var/qmail/bin/qmail-qread Count the number of messages in the queue currently by running: /var/qmail/bin/qmail-qstat Delete all mails from queue /usr/local/psa/admin/sbin/mailqueuemng -D  
read more

« Previous Entries