From b3d6f842bf3b4815de5bf93c3e4eab706af4289e Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Fri, 4 Jul 2014 19:41:03 +0200 Subject: [PATCH] Fix some jekyll-remainders --- .../tech/2013-12-12-choose-a-vagrant-default-provider.md | 4 ++-- .../tech/2014-05-17-checking-ssl-certificates-with-sni.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/tech/2013-12-12-choose-a-vagrant-default-provider.md b/source/tech/2013-12-12-choose-a-vagrant-default-provider.md index c94062d2..7d72a8f5 100644 --- a/source/tech/2013-12-12-choose-a-vagrant-default-provider.md +++ b/source/tech/2013-12-12-choose-a-vagrant-default-provider.md @@ -11,13 +11,13 @@ At least that's the case for me. So if you're annoyed about the Vagrant default behaviour -{% highlight bash %} +```bash $ va status Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed. Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires this to be available on the PATH. If VirtualBox is installed, please find the `VBoxManage` binary and add it to the PATH environmental variable. -{% endhighlight %} +``` I might be the last one to find out, but there is a Vagrant setting to override the default provider: diff --git a/source/tech/2014-05-17-checking-ssl-certificates-with-sni.md b/source/tech/2014-05-17-checking-ssl-certificates-with-sni.md index a546e979..03bff3ec 100644 --- a/source/tech/2014-05-17-checking-ssl-certificates-with-sni.md +++ b/source/tech/2014-05-17-checking-ssl-certificates-with-sni.md @@ -9,11 +9,11 @@ To check the ssl certificate of a site which has [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication) enabled, just add the -servername parameter to the s\_client: -{% highlight bash %} +```bash $ openssl s\_client -servername site.example.com -connect example.com:443 -{% endhighlight %} +``` To see only the relevant parts of the certificate – well – grep for it: -{% highlight bash %} +```bash $ openssl s_client -servername site.example.com -connect example.com:443 2>/dev/null|openssl x509 -text|grep -e "DNS:\|CN=" -{% endhighlight %} +```