Köstliche Basilikum PestoPasta

Ingredients (Salat)

- 300g Nudeln z.B Fussili
- 2EL Basilikum Pesto
- 2EL Pinienkerne
- 2EL frischer Parmesan
- etwas Salz & Pfeffer
- etwas Balsamico Essig Optional

Directions

  1. Den frischen Parmesan reiben und die Nudeln ca. 10 Minuten kochen, anschließend abgießen und mit dem Basilikum Pesto vermischen.
  2. Die Pinienkerne in einer Pfanne ohne Fett rösten.
  3. Parmesan und Pinienkerne über die Nudeln geben. Bei Bedarf mit etwas Salz & Pfeffer abschmecken.
  4. Dazu schmeckt auch ein Spritzer Balsamico Essig.

Mediterraner Nudelsalat

Ingredients (Salat)

- 250g Nudeln
- 70g getrocknete Tomaten
- 250g Kirschtomaten
- 200g Feta
- 3EL Sonnenblumenkerne
- 160g passierte Tomaten
- 4EL Balsamico Essig
- 4EL Olivenöl
- 1TL brauner Zucker
- etwas Salz & Pfeffer

Directions

  1. Die Nudeln kochen, abgießen und abkühlen lassen. Die getrockneten und Kirschtomaten klein schneiden und den Feta würfeln. Die Sonnenblumenkerne ohne Fett in einer beschichteten Pfanne rösten.
  2. Für das Dressing, passierte Tomaten, Balsamico Essig, Olivenöl und Zucker miteinander verrühren. Mit Salz und Pfeffer abschmecken.
  3. Alle Zutaten miteinander vermischen, das Dressing hinzugeben und unterrühren und abschließend Basilikum darüber verteilen.

Nudel Hackfleisch Pfanne

Ingredients

- 400g Nudeln z.B. Penne
- 500 g Rinderhackfleisch
- etwas Olivenöl
- 1 Paprika rot, gelb oder orange
- 2 kleine Zwiebeln
- 2 Knoblauchzehen
- 1EL Tomatenmark
- 2 Dosen passierte Tomaten
- 1 handvoll Kirschtomaten
- 1TL Gemüsebrühe
- etwas gehackte Petersile
- 1EL Oregano
- etwas Salz und Pfeffer
- 150g geriebener Käse z.B. Emmentaler, Mozzarella, Cheddar

Directions

  1. Die Nudeln nach Packungsanweisung kochen.
  2. Die Paprikaschoten waschen, Kerne entfernen und in Würfel schneiden. Zwiebeln und Knoblauch schälen und fein würfeln. Kirschtomaten waschen und halbieren.
  3. In einer Pfanne das Hackfleisch in etwas Öl krümelig anbraten. Zwiebel, Tomatenmark und Paprika zugeben und mitbraten. Passierte sowie Kirschtomaten, Petersilie und Oregano zugeben und alles für einige Minuten garen.
  4. Käse über die Nudel geben und etwas unterheben. Sobald dieser geschmolzen ist und Fäden zieht, die Nudel-Hackfleisch Pfanne mit etwas frischer Petersilie bestreuen und servieren.

Notes

Alternativ können auch Zucchini, Pilze, Mais, Brokkoli oder Stangensellerie

Schneller Tzaziki Nudelsalat

Ingredients (Salat)

- 250g Nudeln
- etwas Mais
- 1-2 handvoll Oliven
- 2 handvoll Kirschtomaten
- etwas Salz & Pfeffer

Ingredients (Tzatziki)

- 250g griechischer Yoghurt
- 1 Salatgurke
- 1 Zehe Knoblauch
- 1EL Olivenöl
- Etwas Zitronensaft 

Directions

  1. Dazu solltest du zunächst die Gurke entkernen und grob reiben. Bestreue diese mit Salz, damit ihr das Wasser entzogen wird. Lasse diese einige Minuten stehen und presse anschließend mit einem Geschirrhandtuch das Wasser aus der Gurke. Schäle den Knoblauch und gebe ihn in die Presse. Rühre den Knoblauch und die Gurke gleichmäßig in den Joghurt ein. Abschließend kannst du noch etwas Olivenöl und Zitronensaft dazugeben. Schmecke den Tzatziki mit Salz und Pfeffer ab.
  2. Koche die Nudeln in Salzwasser, gieße sie ab und lasse sie vollständig abkühlen.
  3. Halbiere die Tomaten und gebe diese mit dem Mais und den Oliven zu den Nudeln. Gebe nun den Tzatziki hinzu und verrühre alles gleichmäßig miteinander. Genieße den Tzatziki Nudelsalat am besten kalt.

Spaghetti al Limone

Zutaten

  • 1 Zitrone
  • 340g Spaghetti oder andere lange Nudeln
  • 180ml Schlagsahne
  • 6 El ungesalzene Butter
  • 85g frisch geriebener Parmesan
  • frisch gemahlener Pfeffer
  • Salz

Zubereitung

  1. Using a vegetable peeler, remove two 2"-long strips of lemon zest. Thinly slice each strip lengthwise into thin strands; set aside for serving. Finely grate remaining zest into a large pot (like a Dutch oven). Cut lemon in half and squeeze out enough juice to yield 2 Tbsp. into a small bowl; set aside.
  2. Cook pasta in another large pot of boiling heavily salted water, stirring occasionally, until very al dente (pasta will finish cooking in the sauce).
  3. Meanwhile, add cream to pot with lemon zest and cook over medium heat, whisking often, until liquid is just beginning to simmer, about 2 minutes. Reduce heat to medium-low. Whisk in butter 1 Tbsp. at a time until melted and sauce is creamy and emulsified. Remove from heat.
  4. Just before pasta is al dente, scoop out 1½ cups pasta cooking liquid. Add ¾ cup pasta cooking liquid to cream sauce and return to medium heat. Using tongs, transfer spaghetti to pot with sauce (it’s okay if a little water comes along with it). Cook, tossing often and adding Parmesan little by little, until cheese is melted and sauce is creamy, about 3 minutes. If sauce looks tight, add 1–2 Tbsp. pasta cooking liquid. (Cream sauces tighten up very quickly as they cool, so it’s better to lean on the saucier side of things.) Stir in reserved lemon juice; season with more salt, if needed.
  5. Divide pasta among bowls. Season with pepper, then top with reserved lemon zest strips.

CA_with_Hashicorp_Vault

Root CA

Enable pki vault secrets enable -path=pki pki

Set max certificate validation time vault secrets tune -max-lease-ttl=87600h pki

Generate Root CA and save it to a file vault write -field=certificate pki/root/generate/internal common_name="Taeschnix CA2" ttl=87600h > CA2_cert.crt

Intermediate

vault secrets enable -path=pki_int pki

vault secrets tune -max-lease-ttl=43800h pki_int

vault write -format=json pki_int/intermediate/generate/internal common_name="fritz.box" | jq -r '.data.csr' > pki_intermediate.csr

vault write -format=json pki/root/sign-intermediate csr=@pki_intermediate.csr format=pem_bundle ttl="43800h" | jq -r '.data.certificate' > intermediate.crt

moving existing CA into Hashicorp Vault

Vault is much more then a simple key/value store for user credentials

In my last post I setup up a HashiCorp Vault to store credentials like Google API-keys, username/password combinations and also my private and public key for my SSL certification authority.

The SSL certificates are stored in vault so that they can be used within the CI/CD pipeline. They were stored as simple strings in the kv backend, which is in no way optimal.

trouble with selfsigned SSL certificates

What changed since my last post on certificates

Since my last post almost two years ago I updated my homeserver significantly with new hardware. With this new hardware I am able to run a lot more services and thus grew the wish to access them by their own DNS name. With the wildcard certificate it was no problem to securely access them from any browser.

Things changed when I started integrating these into the Jenkins pipelines. I got the following error message:

Setting an HashiCorp Vault

Why do you want your own Vault for your DevOps Pipeline

Todo: Add some motivational stuff here

Setup using Docker on my server without ready the docs first

As usual I setup all of the required tools as docker containers. Luckily HashiCorp provides a ready image which just needs to be started as then the UI is readily accessable on port 8200 for your HTTP-Requests. Due to some other maintenance on the server I had to reboot the server, but this is no issue as the docker container can be configured to restart automatically.

Implementing my own CA

Intention and original situation

The move to encryption everywhere is inevitable. Soon browsers (starting with Chrome) will be blocked unencrypted HTTP requests. Google announced this in a recent blog post. So in order to prepare for this, my own home server installation needs a proper CA and certificates.

Creating the certification authority

I chose to use my NAS as the host for the CA for now as openssl was already installed. For the CA I followed the excellent instructions from Jamie Nguyen (link). The detailed instructions I used to create the Root CA are detailed here:. Only the Root CA will be used so I chose the less strict policy and used