Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ecobytes
compose.libre.sh
Commits
da310455
Commit
da310455
authored
10 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Creates a proper cert for mail
parent
cdee9b39
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/email.sh
+2
-2
2 additions, 2 deletions
tests/email.sh
with
2 additions
and
2 deletions
tests/email.sh
+
2
−
2
View file @
da310455
#!/bin/bash -eux
mkdir
-p
/data/domains/mail/dovecot
mkdir
-p
/data/domains/mail/TLS
mkdir
-p
/data/domains/mail/TLS
/
mkdir
-p
/data/domains/mail/static/www-content
mkdir
-p
/data/runtime/domains/mail/mysql/db_files
mkdir
-p
/data/domains/mail/mysql
...
...
@@ -22,7 +22,7 @@ openssl x509 -req -days 365 \
-in
/data/domains/mail/TLS/ssl_cert_sign_req.csr
-signkey
/data/domains/mail/TLS/ssl_private_key.pem
-out
/data/domains/mail/TLS/ssl_certificate.pem
openssl dhparam
-out
/data/domains/mail/TLS/dh2048.pem 2048
c
p
/data/domains/mail/TLS/ssl_certificate.pem /data/domains/mail/TLS/mail.pem
c
at
/data/domains/mail/TLS/ssl_certificate.pem
/data/domains/mail/TLS/ssl_private_key.pem
>
/data/domains/mail/TLS/mail.pem
systemctl
enable
dovecot
systemctl
enable
postfix
...
...
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