Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vitamui-pr-pastis
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dad
vitamui-pr-pastis
Commits
5a5709f8
Commit
5a5709f8
authored
4 years ago
by
Mathieu Leguay
Browse files
Options
Downloads
Patches
Plain Diff
[DEVOPS] Clean scripts of the PKI
parent
600115f9
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Feature/design/1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deployment/generate_stores.sh
+0
-1
0 additions, 1 deletion
deployment/generate_stores.sh
deployment/pki/scripts/lib/functions.sh
+0
-1
0 additions, 1 deletion
deployment/pki/scripts/lib/functions.sh
with
0 additions
and
2 deletions
deployment/generate_stores.sh
+
0
−
1
View file @
5a5709f8
...
@@ -224,7 +224,6 @@ for SERVER in $(ls ${REPERTOIRE_CERTIFICAT}/server/hosts/); do
...
@@ -224,7 +224,6 @@ for SERVER in $(ls ${REPERTOIRE_CERTIFICAT}/server/hosts/); do
P12_KEYSTORE
=
${
REPERTOIRE_CERTIFICAT
}
/server/hosts/
${
SERVER
}
/
${
COMPONENT
}
.p12
P12_KEYSTORE
=
${
REPERTOIRE_CERTIFICAT
}
/server/hosts/
${
SERVER
}
/
${
COMPONENT
}
.p12
CRT_KEY_PASSWORD
=
$(
getComponentPassphrase certs
"server_
${
COMPONENT
}
_key"
)
CRT_KEY_PASSWORD
=
$(
getComponentPassphrase certs
"server_
${
COMPONENT
}
_key"
)
JKS_PASSWORD
=
$(
getKeystorePassphrase
"keystores_server_
${
COMPONENT
}
"
)
JKS_PASSWORD
=
$(
getKeystorePassphrase
"keystores_server_
${
COMPONENT
}
"
)
pki_logger
"
${
JKS_PASSWORD
}
"
generateHostKeystore
${
COMPONENT
}
\
generateHostKeystore
${
COMPONENT
}
\
${
JKS_KEYSTORE
}
\
${
JKS_KEYSTORE
}
\
...
...
This diff is collapsed.
Click to expand it.
deployment/pki/scripts/lib/functions.sh
+
0
−
1
View file @
5a5709f8
...
@@ -251,7 +251,6 @@ function setComponentPassphrase {
...
@@ -251,7 +251,6 @@ function setComponentPassphrase {
local
RETURN_CODE
=
0
local
RETURN_CODE
=
0
local
VAULT_FILE
=
$(
getVaultFile
"
$TYPE
"
)
local
VAULT_FILE
=
$(
getVaultFile
"
$TYPE
"
)
local
VAULT_PASS
=
$(
getVaultPass
"
$TYPE
"
)
local
VAULT_PASS
=
$(
getVaultPass
"
$TYPE
"
)
local
KEY_PREFIX
=
$(
getKeyPrefix
"
$TYPE
"
)
if
[
!
-f
"
${
VAULT_FILE
}
"
]
;
then
if
[
!
-f
"
${
VAULT_FILE
}
"
]
;
then
pki_logger
"ERROR"
"The vault file is not found. Please, initialize it before call me ! Vault file:
${
VAULT_FILE
}
"
pki_logger
"ERROR"
"The vault file is not found. Please, initialize it before call me ! Vault file:
${
VAULT_FILE
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment