-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #276 from rdnovell/master
Add modules for cert installation and removal
- Loading branch information
Showing
4 changed files
with
28 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,7 @@ | ||
#!/bin/sh | ||
# Configure module | ||
set -e | ||
|
||
# Download the root certificate and update the certificates. | ||
rm -rf /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt | ||
update-ca-trust |
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,7 @@ | ||
schema_version: 1 | ||
name: jboss.container.eap.jdk-cert-remove | ||
version: '1.0' | ||
description: "JBoss Enterprise Application Platform remove root certificates for JVM" | ||
|
||
execute: | ||
- script: configure.sh |
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,7 @@ | ||
#!/bin/sh | ||
# Configure module | ||
set -e | ||
|
||
# Download the root certificate and update the certificates. | ||
curl https://password.corp.redhat.com/RH-IT-Root-CA.crt -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt | ||
update-ca-trust |
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,7 @@ | ||
schema_version: 1 | ||
name: jboss.container.eap.jdk-cert | ||
version: '1.0' | ||
description: "JBoss Enterprise Application Platform setup root certificates for JVM" | ||
|
||
execute: | ||
- script: configure.sh |