Author: Antonie Potgieter

PHP Warning: stream_socket_enable_crypto(): Peer certificate

PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=example.host' did not match expected CN=smtp.sendgrid.net’ This PHP warning usually occurs with an email library such as phpMailer just before SMTP authentication fails. The reason for the warning is because phpMailer is trying to verify the peer on the remote mail server but the SMTP request is rerouted through to your own server hostname so the certificates don’t match. In WHM/cPanel the reason for this error is this setting: Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak) And the description of the setting is: Enabling this feature will redirect outgoing SMTP...

Read More

cPanel – Copy of incoming/outgoing emails

You can receive a copy of incoming/outgoing emails on cPanel. I wrote an article on this a while back on my personal blog, here is the article: cPanel: Copy someone on all incoming/outgoing emails The basic requirements are: Shell access to create a custom Exim filter file WHM access to turn on this filter in the Exim...

Read More

OpenVPN Web UI Not Loading

I installed a VPN server recently using Amazon EC2 + OpenVPN and ran into an issue. After installation and configuration, the web ui didn’t load. I searched the web and found a few users with the same issue. Run the Configuration Wizard First thing you should do is to run the configuration wizard. Open up your terminal, login to your server via SSH and then execute this command: sudo /usr/local/openvpn_as/bin/ovpn-init That will take you through the configuration. Agree to the terms & conditions and go through the setup. All the settings can be left on the defaults except for...

Read More

Google Drive is now Google Backup & Sync

Google Drive is being discontinued in favor of the new Google Backup & Sync. Many of us have used and are still using Google Drive to store all our files and documents online. At the same time you may have been using Google Photos to store all your photos and videos online, linked to your Google Account and Google Drive as well. Google Drive will be Discontinued Fewer of us actually used the Google Drive app on our Macs and PCs. The Google Drive app installed on your computer to automatically sync all your Google Drive files and documents...

Read More

Linux – Monitor and Automatically Restart Services that Go Down

I was looking for a monitoring solution which will automatically restart services on a Linux server when they go down. After some research, I found Monit. It is an open-source utility which does just that. It can run as a daemon and check all your services on your server such as MySQL, Apache, SSH, FTP, etc. and start, stop or restart them as needed. You can configure Monit as you want it to work. Install and Configure Monit To install Monit on CentOS or similar distro, simply run: yum install monit When it’s done installing, you can edit the...

Read More

Pin It on Pinterest

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!