Archive for '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 pass phrase: pass Verifying – Enter PEM pass phrase: pass Now, we use the [...]
Posted: December 15th, 2008 under Answers, Security, System Administration.
Comments: none
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, all of them related to older versions of ports. The version of pcre I have [...]
Posted: December 7th, 2008 under FreeBSD, Programming, System Administration.
Comments: 8
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 would run $ sudo useradd -G wheel jdoe Note: The above also creates the [...]
Posted: April 28th, 2007 under Answers, NetBSD, OpenBSD, System Administration.
Comments: 2
