Categories
Uncategorized

CURL ERROR: SSL certificate problem: self signed certificate in certificate chain (Authorize.net)

Recently there was a spike in Authorize.net customers that reported their sites credit card processing errors which, according to log files resulted in the following error produced:

CURL ERROR: SSL certificate problem: self signed certificate in certificate chain

Fix:

Testing (oneliner):

echo | openssl s_client -connect apitest.authorize.net:443 -showcerts -verify 10 -CAfile /home/path/to/cert.pem

Make sure to replace “/home/path/to/cert.pem” with the real path. If all is good you’ll get something like this at the end:

Verify return code: 0 (ok)

Otherwise you’ll see:

Verify return code: 19 (self signed certificate in certificate chain)
Categories
hosting webhosting

Hsphere file paths

Mysql:
======
Socket file: /var/lib/mysql/mysql.sock
Database file: /var/lib/mysql
mysql password file: /var/lib/mysql/.my.cnf
Error log: /var/log/mysql/error.log

Ftp:
=====

Proftpd is default with hsphere.

Configuration file: /hsphere/shared/config/ftpd/proftpd.conf
Log file: /hsphere/local/var/proftpd/xferlog

Php:
=====

Categories
linux webhosting

How to restart Linux services

Starting Services

Linux:

/etc/rc.d/init.d/ start

FreeBSD:

/usr/local/etc/rc.d/ start

Stopping Services

Linux: