BigBrother BB4 is not mailing
Are you still using Big Brother monitoring system (http://www.bb4.org) as I do? Does that old undocumented piece of software send you any notification via mail? Then please check those points:
1) BB needs the command mail. So make shure that "mailx" or the mail command is installed on your system.
2) Check the bbsys.local file, if the alias for mail is set. If not, enter this line manually MAIL="/bin/mail -s"; export MAIL
Oh no! But the file tells you not to edit it by hand!?!... Just do it...
3) Take care of your bbwarnsetup.cfg and bbwarnrules.cfg files
4) check your logs under ../bbvar/acks/notifications.log
Enjoy your daily dosis of SPAM ![]()
Tomcat and P12
It is possible to use a pkcs12 keystore for Tomcat SSL. In fact, with some parsing and conversion, pfx files can be made into pkcs12 keystores. Follow the following steps:
Assuming that you have a pfx (Personal Info Exchange) file that contains your CA-signed or self-signed certificate and your private key,
[One way of getting the pfx file could be by exporting the certificate from the Microsoft Windows Certificate Mangaement console)
1. (If you already have a pkcs12 pem file, skip #1)
openssl pkcs12 -in mypfxfile.pfx -out mypemfile.pem
2.
openssl pkcs12 -export -in mypemfile.pem -out mykeystore.p12 -name "My Certificate"
3. (To verify that the keystore exists)
keytool -v -list -keystore mykeystore.p12 -storetype pkcs12
Now, you have to tell Tomcat that it's really a pkcs12 file. Edit the SSL connector block of your server.xml:
port="8443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
Factory className="org.apache.coyote.tomcat5.CoyoteServerSocketFactory"
clientAuth="false"
protocol="TLS"
keystoreType= "PKCS12"
keystoreFile="mykeystore.p12"
keystorePass=yourKeystorePass/
Good luck!
Outlook RPC fix
If Outlook 2003/2007 does not connect to your Exchange 2003 Server anymore, after you connected the last time via RPC, try this REGFIX:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\RPC
DWORD "DefConnectOpts"
Value "0"
Source
http://blogs.technet.com/dmelanchthon/archive/2007/01/26/outlook-2007-an-exchange-2003.aspx
DC 2008
SSL Stuff
SSL Server Key generation:
openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
In Apache:
SSLEngine on
SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

Sources:
http://www.akadia.com/services/ssh_test_certificate.html
https://www.sslshopper.com/ssl-converter.html
http://www.werthmoeller.de/doc/microhowtos/openssl/
https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=AR198
https://www.startssl.com/
:: Next >>