Force an old version of TLS

If you -for whatever reason- need to force the old TLS-1.0, you can put the folllowing line en the Apache’s /etc/apache2/mods-enabled/ssl.conf file.

SSLProtocol All -TLSv1.1 -TLSv1.2

Note: TLS-1.0 is broken and is considered insecure. This version of the protocol …

➟ Read more

Increase volume size using Elastic Volumes

On February 2017, AWS announced the availability of a new EBS feature called Elastic Volumes. The new feature allows you to increase the size, performance and type and of your EBS volumes while in use. In order to take adantage of this great feature some requisites needs to be done …

➟ Read more

Modificar ficheros de una imagen de disco particionada

En ocasiones disponemos de una imagen RAW de disco sobre la que queremos realizar cambios, pero queremos ahorrarnos el proceso de:

  • Copiar el fichero de imagen a un dispositivo con ”dd”.
  • Montar el dispositivo para tener acceso a los filesystems del mismo.
  • Realizar cambios sobre los ficheros.
  • Volver a generar …
➟ Read more

Utilizar certificados SSL en Amazon ELB

En esta entrada voy a tratar de explicar cómo utilizar el servicio de balanceo de carga de Amazon (ELB) como terminador de conexiones SSL.

El escenario de partida sería este:


Como se observa en este diagrama, todo el tráfico va en plano. Desde el cliente HTTP del usuario/aplicación hasta …

➟ Read more

lsof: Practical usage examples

As you probably know, lsof stands for List of Open Files. Yes, it’s seems a simple description for a simple Unix command but, wait! Have you ever heard that everything in Unix is a file? Yes, right? So maybe this tool is more powerful than you think.

Let me …

➟ Read more

How to add Puppet syntax highlighting to Dokuwiki

As you probably know, Dokuwiki relies on GeSHI for syntax highlighting. Unfortunately, the current version of GeSHI does not support Puppet language. Nevertheless GeSHI allows you to add new languages easily by creating new language files, so to add Puppet support you just need to get a languaje file for …

➟ Read more

rabbitmqctl: Error unable to connect to node

If you are running rabbitmqctl with a different user than the one used by server, you will get an error like this:

rabbitmqctl status Status of node rabbit@foo
Error: unable to connect to node rabbit@foo: nodedown
- home dir: /root
- cookie hash: 0fWPcZtM431dRX003r6OAg==

This is because the cookie stored …

➟ Read more

Couchdb: How to continue the replication processes after restart

As you probably know, the replication in couchdb is triggered by sending a JSON doc to the _replicate URL using a POST request. Something like that:

curl -X POST http://localhost:5984/_replicate -d '{source:http://src_ip:5984/src_db, target:dst_db, continuous:true}' -H 'Content-Type: application/json'

The problem using …

➟ Read more

How to mount a ZFS drive in Linux

First: Plug the HDD into a SATA to USB adapter (obvious). Then find the device:

sfdisk -l

In my case the device was /dev/sdb1

Install zfs-fuse for your distro:


apt-get install zfs-fuse


zypper install zfs-fuse

Start the zfs fuse daemon:

/etc/init.d/zfs-fuse start
super8:~ # zpool …
➟ Read more