blog darkness...

words, music, food

Entries for tag "sysadmin"

problems installing M2Crypto

with an error that looks something like: building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -I/usr/include/python2.7 -I/usr/include -I/usr/include/openssl -includ eall -I/usr/include/openssl -modern -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i /usr/include/openssl/opensslconf.h:31: Error: CPP #error ""This openssl-devel packa ge does not work your architecture?"". Use the -cpperraswarn option to continue swi g processing. error: command...
Continue reading »

Regenerating certs on debian post-heartbleed

This is only for those of you who are cheap like me and use self-signed certs for everything Dovecot (check the paths... you'll notice mine are non-standard, hence the symlinking, etc): rm /etc/dovecot/dovecot.pem rm /etc/dovecot/private/dovecot.pem openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pem ln -s /etc/ssl/certs/dovecot.pem /etc/dovecot/...
Continue reading »