Skip to content

Commit a4c7d4e

Browse files
CoderWithAttitudeCoderWithAttitude
authored andcommitted
rewrote parts of the ssl checker blog post, update meta info, makefile and devcontainer
1 parent 0385c8e commit a4c7d4e

5 files changed

Lines changed: 29 additions & 27 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,15 @@
11
{
22
"name": "jekyll",
3-
//"dockerfile": "Dockerfile",
43
"dockerComposeFile": [
54
"docker-compose.yml"
65
],
7-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
8-
//"image": "mcr.microsoft.com/devcontainers/jekyll:0-bullseye",
9-
// Features to add to the dev container. More info: https://containers.dev/features.
10-
/*"mounts": [
11-
"source=${localEnv:HOME}${localEnv:USERPROFILE},target=/host-home-folder,type=bind,consistency=cached",
12-
"source=${localWorkspaceFolder},target=/data,type=bind,consistency=cached"
13-
],*/
14-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
156
"forwardPorts": [
167
// Jekyll server
178
4000,
189
// Live reload server
1910
35729
2011
],
21-
// Use 'postCreateCommand' to run commands after the container is created.
22-
//"postCreateCommand": "sh .devcontainer/post-create.sh",
2312
"postCreateCommand": "bundle install --verbose",
24-
//"postStartCommand": "bundle exec jekyll serve --baseurl=\"\"",
25-
//"postStartCommand": "bundle exec jekyll serve --host=0.0.0.0 --livereload --baseurl=\"\"",
2613
"customizations": {
2714
"vscode": {
2815
"extensions": [
@@ -32,16 +19,13 @@
3219
"google.geminicodeassist",
3320
"streetsidesoftware.code-spell-checker-german",
3421
"streetsidesoftware.code-spell-checker-canadian-english",
22+
"streetsidesoftware.code-spell-checker",
3523
"DavidAnson.vscode-markdownlint"
3624
]
3725
}
3826
},
3927
"service": "jekyll",
4028
"workspaceFolder": "/site",
41-
// Configure tool-specific properties.
42-
// "customizations": {},
43-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
44-
// "remoteUser": "root"
45-
//"remoteUser": "vscode"
29+
"postStartCommand": "make serve",
4630
"shutdownAction": "stopCompose"
4731
}

Makefile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
install:
1+
bundler:
2+
gem install bundler:4.0.1
3+
install: bundler
24
bundle install
35
verify:
46
bundle exec jekyll --version
5-
build: install
6-
bundle exec jekyll build
7-
serve: build
8-
bundle exec jekyll serve --host 0.0.0.0 --port 4000 --livereload
7+
serve: install
8+
bundle exec jekyll serve --host 0.0.0.0 --port 4000 --livereload
9+
# these targets can be used to test the running setup
10+
curl_local:
11+
curl http://localhost:4000
12+
curl_host:
13+
curl http://host.docker.internal:4040
14+
.PHONY: bundler install verify serve curl_local curl_host

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ title: C.W.A. - Coder with Attitude
1919
# Write an awesome description for your new site here. You can edit this
2020
# line in _config.yml. It will appear in your document head meta (for
2121
# Google search results) and in your feed.xml site description.
22-
description: Talk is cheap - Show me the code (config) #>-
22+
description: Talk is cheap - Show me the code #>-
2323

2424
baseurl: "" # the subpath of your site, e.g. /blog
2525
url: "https://www.volker-benders.de" # the base hostname & protocol for your site, e.g. http://example.com
2626
twitter_username: JavaVolker
2727
github_username: CWACoderWithAttitude
2828
linkedin_username: volkerbenders
29+
resume_website_url: "https://www.volker-benders.de/resume"
2930
author: Volker
3031
# Build settings
3132
markdown: kramdown

_posts/2025-07-20-check-ssl-certs.markdown

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,21 @@ categories: [web]
66
tags: [ssl, cert, expired, valid]
77
---
88

9-
# The problem
10-
Our solution to issue, administer and maintain certificates for SSL encryption had to be updated.
9+
# TL;DR
10+
SSL Cert Checker lets you check the validity for a bunch of endpoints
1111

12-
The transition process was quite challenging. The number of involved certs and application using them was humongous.
12+
## Problem
13+
14+
Our previous CA software had reached EOL.
15+
16+
So we had to setup a new one and incrementally rollout new certs to application. During transition time two valid certs were used: old certs issued by trhe legacy CA. And new certs issued by the new CA software.
17+
18+
To assist ensuring all apps have valid certs i designed a small tool.
19+
This tool enabled us to see which apps already use new certs and which ones need attention.
20+
21+
## Challenge
22+
23+
The number of involved certs and applications using them was humongous.
1324

1425
Every service and application was documented in excel.
1526

favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)