Solve freebsd-update s3_cbc.c No such file or directory

If during a freebsd-update you get:

The following files will be added as part of updating to 9.1-RELEASE-p4:
/usr/src/crypto/openssl/ssl/s3_cbc.c
Installing updates...install: ///usr/src/crypto/openssl/ssl/s3_cbc.c: No such file or directory
done.

Just make the missing directory and run the command again:


[root@pr0nserv ~]# mkdir -p /usr/src/crypto/openssl/ssl
[root@pr0nserv ~]# freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 9.1-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be added as part of updating to 9.1-RELEASE-p4:
/usr/src/crypto/openssl/ssl/s3_cbc.c
Installing updates... done.
[root@pr0nserv ~]#

Google is switching to SSL

If you have a Google account there’s a good news for you, in the next weeks Google will switch to an encrypted search page for every registered user.

That’s right, when you’ll serach for something you’ll be automagically redirected to https if you’re logged with your Google account.

http://googleblog.blogspot.com/2011/10/making-search-more-secure.html

Apache: _default_ VirtualHost overlap on port 443, the first has precedence

If you have just added another VirtualHost with SSL and Apache is giving to you this error:

[warn] _default_ VirtualHost overlap on port 443, the first has precedence

Probably you miss a

NameVirtualHost *:443

at the top of your httpd-vhosts.conf file.

FreeBSD: set up self-signed SSL certificates for Apache virtualhosts


cd /usr/local/etc/apache22/
openssl genrsa -des3 -out server.key 1024

(choose a password)

openssl req -new -x509 -days 3650 -nodes -sha256 -key server.key -out server.crt

answer the questions and you’re done.
Remove the password from the cert:

cp server.key server.key2
openssl rsa -in server.key2 -out server.key

Leggi tutto “FreeBSD: set up self-signed SSL certificates for Apache virtualhosts”