sec_error_ca_cert_invalid - Firefox and SSL certificates

Seems that Firefox v31 and later has decided to remove access to sites encrypted with self signed certificates by default!

Anyway to resume some form of normality modify your “about:config” in the firefox address bar
Search for “security.use_mozillapkix_verification” and set it to “false”

That should do it.

SSH Forced commands from Web Page

Are you a paranoid nerd, who’s business requirements are very strict about IT security? No, well you may as well stop reading here.

Perhaps you have a business requirement to perform some random function on a server that only allows SSH access, but the rest of the business requires simple press button access to perform those functions?

Well with SSH force command wrappers, SSH keys and PHP you too can have simple click button access for the rest of the business!

Basically with a Linux apache server with PHP use the following code:
[Read More…]

Enable Apache’s inbuilt chroot functionality

This works on all versions of Apache webserver greater than 2.2.10.
I’ll presume you have a current working version of Apache serving files from /var/www/

mkdir -p /chroot/var/ 

Required for PHP5 compatibility:

mkdir -p /chroot/var/lib/php5
chown root:www-data /chroot/var/lib/php5
chmod 770 /chroot/var/lib/php5
cp /etc/localtime /chroot/etc/localtime
cp -R /usr/share/zoneinfo /chroot/usr/share/zoneinfo
cp -R /usr/share/apache2 /chroot/usr/share/apache2 
mv /var/www /chroot/var/ 

To help with compatibility and user / sysadmin expectations

ln -s /chroot/var/www /var/www 

Enable Apache’s in-built chroot (Debian)

echo "ChrootDir /chroot" > /etc/apache2/conf.d/chroot 

Enable Apache’s in-built chroot (Redhat/CentOS/Fedora)

echo "ChrootDir /chroot" >> /etc/httpd/conf/httpd.conf 
semanage fcontext -a -t httpd_sys_content_t “/chroot/var/www(/.*)?”
service apache2 restart 

Now test your damn website! Logfiles are your friend for troubleshooting any bugs :-)

How to use the new Snapchat video chat/call function

First things first: Update to the latest Snapchat.
Then in the main Snapchat window where you view sent and delivered messages, select a name and swipe / drag the name to the right. This takes you to the ‘chat’ window.

From here you can chat per normal using the return button on your keyboard to send the message - not the the yellow button.
Clicking the yellow button allows you to send a pic or video within the chat session (kind of like normal snapchat).
The key feature is once both users are ‘active’ within the chat session, the yellow button becomes blue.

Now hold the blue button and it will now send them your video stream, they just need to hold their blue button down also, and now you have video calling!!

Make sure your volume is up (and so is theirs) and chat away.

You can also move your held down thumb to the top half of the screen and the camera will change to the rear camera. Move your thumb back down to the bottom half of the screen and your back to the front facing camera!

Adobe Acrobat Reader 11.0.06 offline installer link

These posts were pretty popular when I used to do them so I’ll try keep them updated:

Download the full Adobe Acrobat Reader installer EXE here:

ftp://ftp.adobe.com/ … beRdr11006_en_US.exe

No bloatware either!