Category Archives: Web Development

Using Apache to intercept HTTPS traffic

Due to the increase in processing power available, the use of SSL has become more widespread. This is obviously a good thing, especially with UK ISPs spying on ( and annoyingly, replaying ) web traffic recently, however this can be a showstopper when trying to debug a misbehaving application.

To get around this, and allow us to see what exactly an application, or even a web browser is doing, we can use Apache ( with mod_proxy and mod_dumpio ) to perform a man-in-the-middle attack , and view the traffic.
Continue reading

Convert Adobe CMYK Images to RGB on Linux

In my job as a Web Application developer, occasionally designers send me images to place on web sites, which is usually fairly simple. However sometimes I receive images from print-orientated designers, who use Adobe Photoshop to create images in CMYK format. These images are great for printing, however they don’t work too well on the web (most browsers won’t even render CMYK formatted colours), so it it’s usually best to convert them.

The GIMP can’t load CMYK images (yet anyway) , and although Krita can open the images fine, changing the colour type usually results in the colours in the image changing. The only way I’ve found to convert the images on Linux is using ImageMagick.

Continue reading