-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
roman
committed
Aug 13, 2023
1 parent
c522cd0
commit 0d33263
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This is a simple example creating a CSR as a demonstration. | ||
Run with `./run_test_yaml.sh` for YAML input and take a look at the resulting output in `certs/`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is where the configurations and certificates are stored. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
global: | ||
country: DE | ||
org: My Org | ||
locality: Berlin | ||
certs: | ||
- fileName: test | ||
CN: me.at.home | ||
CN_as_SAN: "false" | ||
CA: "false" | ||
SANs: | ||
- name: me | ||
- name: me.at | ||
- ip: 10.0.0.1 | ||
- CN: me.at.home | ||
SANs: | ||
- name: me.at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker run --rm \ | ||
-e PREPARE_CSR_ONLY=yes \ | ||
-e PASSWD=changeIt -e DAYS=389 -e DAYS_CA=3650 \ | ||
-v $(pwd)/hosts.yml:/opt/certs/hosts.txt \ | ||
-v $(pwd)/certs:/opt/certs/current \ | ||
schmitzi/openssl-alpine-j11:1.2.0 |