Followed these instructions!
Category Archives: Internet
OpenSSL command to view certificate info
From The Most Common OpenSSL Commands to view a certificate:
openssl x509 -text -noout -in certificate.crt
Namecheap SSL CSR and CA Bundle for PostiveSSL certs
CSR generation for PositiveSSL and PositiveSSL WildCard with Apache2/OpenSSL see: CSR Generation: Using OpenSSL (Apache w/mod_ssl, NGINX, OS X):
openssl req -nodes -newkey rsa:2048 -keyout myserver.key -out server.csr
To generate the CA bundle see this article:
cat COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > your_domain.ca-bundle
Restarting sshd on Mac OS X
Found this article which said:
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist sudo launchctl load /System/Library/LaunchDaemons/ssh.plist
Run sshd on Mac OS X
Found this article which said: open System Preferences, click Sharing and check Remote Login.
HTML blockquote
Today I was forced to lookup how to treat <blockquote> and <p> elements. It turns out you wrap paragraphs with blockquote, i.e.:
<blockquote><p>...</p></blockquote>
Character encodings in HTML
Today I had to look up all the various ways HTML might nominate a content-type and I found Character encodings in HTML over on Wikipedia which had all the answers…
Set the target frame of a form
Today I had to lookup how to set the target frame of a form.
Basically you set the ‘target’ attribute on the form to the name of the frame you want to target.
MediaWiki: $wgRawHtml
Today I discovered the $wgRawHtml setting which allows for the inclusion of HTML in MediaWiki pages. Wicked! :)
New Apache SSL configuration
Today Apache complained about SSLCertificateChainFile being deprecated and it told me to use SSLCertificateFile instead.
SSLCertificateFile was already in use with the .crt file. I had to create a new ‘SSLCertificateFile’ by concatenating the .crt file with the ca-bundle, and that fixed the problem:
# cat trust.jj5.net.crt trust.jj5.net.ca-bundle.pem > trust.jj5.net.pem