Category Archives: System Administration

How do I determine the expiration date of a p12 certificate?

First you will need to translate the pkcs12 certificate into a PEM certificate. The PEM certificate is only needed temporarily and can later be removed. $ openssl pkcs12 -in certificate.p12 -out tempcrt.pem Enter Import Password: MAC verified OK Enter PEM … Continue reading

Posted in Answers, Security, System Administration | 2 Comments

Fixing PCRE_UTF8 Errors in FreeBSD

I have recently encountered this error: PHP Warning: preg_match(): Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 And despite some of the suggested solutions I have found in various Drupal and MediaWiki forums, … Continue reading

Posted in FreeBSD, Programming, System Administration | 11 Comments

Q: How do I add a user to the wheel group in OpenBSD or NetBSD?

A: Beyond simply editing /etc/group with your favorite text editor, adding a user to the wheel group can be achieved in a few different ways. To place a user in the wheel account when her account is first created, you … Continue reading

Posted in Answers, NetBSD, OpenBSD, System Administration | 2 Comments