Saturday, September 24, 2011

Installing the Broadcom bcm4312 driver on Fedora Core

Tired of this message in '/var/log/messages' when trying to reload the driver (" modprobe -r b43 ; modprobe b43")?

As root:
----------------------------------------------------------
export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
tar xjf broadcom-wl-4.150.10.5.tar.bz2
cd broadcom-wl-4.150.10.5/driver
b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o
----------------------------------------------------------

Many thanks to this person.

Friday, September 23, 2011

Stripping key/certificates from pkcs12 file.

# Extract the certificate
openssl pkcs12 -in source.p12 -clcerts -nokeys -out destination.crt

# Extract the key
openssl pkcs12 -in source.p12 -nocerts -out destination.pem

# Remove passphrase from the key
openssl rsa -in source.pem -out destination.key