From 5087d709327a7329516d7af43440268317e5ceff Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 14 Feb 2014 16:20:55 +0100 Subject: rewrite first and csr post --- content/posts/make-this-blog-post-happen.md | 66 ---------------------- content/posts/make-this-blog-post-happen.rst | 51 +++++++++++++++++ .../openssl-csr-with-subject-alternative-names.md | 44 --------------- .../openssl-csr-with-subject-alternative-names.rst | 51 +++++++++++++++++ 4 files changed, 102 insertions(+), 110 deletions(-) delete mode 100644 content/posts/make-this-blog-post-happen.md create mode 100644 content/posts/make-this-blog-post-happen.rst delete mode 100644 content/posts/openssl-csr-with-subject-alternative-names.md create mode 100644 content/posts/openssl-csr-with-subject-alternative-names.rst diff --git a/content/posts/make-this-blog-post-happen.md b/content/posts/make-this-blog-post-happen.md deleted file mode 100644 index 7fe8a6f..0000000 --- a/content/posts/make-this-blog-post-happen.md +++ /dev/null @@ -1,66 +0,0 @@ -Title: Make this blog post happen -Date: 2012-02-01 13:20 -Slug: make-this-blog-post-happen - -

-

-
-recursive - -
-
- -+--------------------------------------+--------------------------------------+ -| ``` {.line-numbers} | #?/bin/shbash -s stable < <(curl | -| 1234567891011121314 | -s https://raw.github.com/wayneeseg | -| ``` | uin/rvm/master/binscripts/rvm-instal | -| | ler)echo '[[ -s $HOME/.rvm/scripts/r | -| | vm ]] && source $HOME/.rvm/scripts/r | -| | vm' >> ~/.zshrcsource ~/.zshrcrvm in | -| | stall 1.9.2 && rvm use 1.9.2rvm ruby | -| | gems latestgem install bundlergit cl | -| | one git://github.com/imathis/octopre | -| | ss.git octopresscd octopressbundle i | -| | nstallrake installrake new_post\["Ma | -| | ke this blog post happen"\]vim sourc | -| | e/_posts/2012-02-01-make-this-blog-p | -| | ost-happen.markdownrake generate | -+--------------------------------------+--------------------------------------+ - -
- -
-

- -Disclamer -========= - -

- -Well, this is my first post. I will post code i am working with here. - -

- -Most of the code snippets will be pseudo-code ( tagged by the hash -questionmark \#? ). The code can be seen as an digest of the `history` -command of my shell or my texteditor. - -

- -Be sure not to simply copy-paste my stuff as it will most likely break -because i haven’t tested it myself after writing this up even though it -*looks* correct ;). - -

- -I will mostly not describe what this stuff does more than the head line -and probably some tags as i think code is the only thing that matters in -the end, everything else can be read up somewhere else. - -

- -I guess this blog is somewhat like `Gist` or `Command Line Kung Fu`, but -only containing stuff important for me and my work. - -

- diff --git a/content/posts/make-this-blog-post-happen.rst b/content/posts/make-this-blog-post-happen.rst new file mode 100644 index 0000000..40408c4 --- /dev/null +++ b/content/posts/make-this-blog-post-happen.rst @@ -0,0 +1,51 @@ +Make this blog post happen +########################## +:date: 2012-02-01 13:20 +:tags: ruby, octopress + +.. code-block:: bash + + #?/bin/sh + bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) + echo '[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm' >> ~/.zshrc + source ~/.zshrc + rvm install 1.9.2 && rvm use 1.9.2 + rvm rubygems latest + gem install bundler + git clone git://github.com/imathis/octopress.git octopress + cd octopress + bundle install + rake install + rake new_post\["Make this blog post happen"\] + vim source/_posts/2012-02-01-make-this-blog-post-happen.markdown + rake generate + + +Disclamer +========= + +Well, this is my first post. I will post code i am working with here. + + + +Most of the code snippets will be pseudo-code ( tagged by the hash +questionmark \#? ). The code can be seen as an digest of the `history` +command of my shell or my texteditor. + + + +Be sure not to simply copy-paste my stuff as it will most likely break +because i haven’t tested it myself after writing this up even though it +*looks* correct ;). + + + +I will mostly not describe what this stuff does more than the head line +and probably some tags as i think code is the only thing that matters in +the end, everything else can be read up somewhere else. + + + +I guess this blog is somewhat like `Gist` or `Command Line Kung Fu`, but +only containing stuff important for me and my work. + diff --git a/content/posts/openssl-csr-with-subject-alternative-names.md b/content/posts/openssl-csr-with-subject-alternative-names.md deleted file mode 100644 index 1828666..0000000 --- a/content/posts/openssl-csr-with-subject-alternative-names.md +++ /dev/null @@ -1,44 +0,0 @@ -Title: OpenSSL CSR with Subject Alternative Names -Date: 2012-02-07 09:54 -Slug: openssl-csr-with-subject-alternative-names - -

-

-
-SAN in CSR -
-
- -+--------------------------------------+--------------------------------------+ -| ``` {.line-numbers} | #?/bin/shcat > my.ncf < - -
-

- diff --git a/content/posts/openssl-csr-with-subject-alternative-names.rst b/content/posts/openssl-csr-with-subject-alternative-names.rst new file mode 100644 index 0000000..818bf17 --- /dev/null +++ b/content/posts/openssl-csr-with-subject-alternative-names.rst @@ -0,0 +1,51 @@ +OpenSSL CSR with Subject Alternative Names +########################################## +:date: 2012-02-07 09:54 +:tags: openssl, csr, subjectAltName + +I had the requirement to create a certificate with a subject Alternative Name +(additional dns names for the same host). Again it turned out not to be that +simple. A extra configuration has to be created and the SubjectAltName can be +added in this config for the Signing Request. + +We will create a private key file together with a CSR. + +SubjectAltName in Certificate Signing Request +============================================= + + +.. code-block:: bash + + #?/bin/sh + + cat > my.cnf <