Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ub_folio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
University Library
ub_folio
Commits
de247631
Commit
de247631
authored
9 months ago
by
Magnus Toneby
Browse files
Options
Downloads
Patches
Plain Diff
create some certificates
parent
166fc73f
No related branches found
Branches containing commit
No related tags found
2 merge requests
!4
Test->production
,
!3
Devel->Test
Pipeline
#129816
passed
9 months ago
Stage: puppet
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/foliofront.pp
+4
-4
4 additions, 4 deletions
manifests/foliofront.pp
with
4 additions
and
4 deletions
manifests/foliofront.pp
+
4
−
4
View file @
de247631
...
...
@@ -7,13 +7,13 @@ class folioscripts::foliofront {
$basedir
=
'/opt/liu/foliofront'
exec
{
'create private key for'
:
creates
=>
'
privatekey.pem
'
,
command
=>
'
/bin/openssl genrsa -out privatekey.pem 2048
'
,
creates
=>
"
$
{
$basedir
}/
privatekey.pem
"
,
command
=>
"
/bin/openssl genrsa -out
$
{
$basedir
}/
privatekey.pem 2048
"
,
}
exec
{
'create cert for'
:
creates
=>
'
saml-cert.pem
'
,
command
=>
'
/bin/openssl req -new -x509 -key privatekey.pem -out saml-cert.pem -days 3650
'
,
creates
=>
"
$
{
$basedir
}/
saml-cert.pem
"
,
command
=>
"
/bin/openssl req -new -x509 -key
$
{
$basedir
}/
privatekey.pem -out saml-cert.pem -days 3650
"
,
require
=>
[
Exec
[
'create private key for'
],],
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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