Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eci-platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Todor Kondic
eci-platform
Commits
b954a7b7
Unverified
Commit
b954a7b7
authored
2 years ago
by
Todor Kondic
Browse files
Options
Downloads
Patches
Plain Diff
roles/ftpserver/tasks: TLS FTP enabled.
parent
4e760bf5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/ftpserver/tasks/main.yml
+23
-0
23 additions, 0 deletions
roles/ftpserver/tasks/main.yml
with
23 additions
and
0 deletions
roles/ftpserver/tasks/main.yml
+
23
−
0
View file @
b954a7b7
...
@@ -26,6 +26,29 @@
...
@@ -26,6 +26,29 @@
AuthGroupFile /etc/proftpd/ftpd.group
AuthGroupFile /etc/proftpd/ftpd.group
ServerName "{{hostvars[inventory_hostname].ansible_hostname}}"
ServerName "{{hostvars[inventory_hostname].ansible_hostname}}"
AuthOrder mod_auth_file.c
AuthOrder mod_auth_file.c
PassivePorts 50000 65534
notify
:
restart-ftp
-
name
:
Touch tls.conf.
tags
:
proftpd-conf-text
file
:
path
:
/etc/proftpd/conf.d/tls.conf
state
:
touch
-
name
:
Add TLS to ProFTPd.
tags
:
proftpd-conf-text
blockinfile
:
path
:
/etc/proftpd/conf.d/tls.conf
block
:
|
TLSEngine on
TLSRequired on
TLSRSACertificateFile /etc/eci-platform/pub/certificate.key
TLSRSACertificateKeyFile /etc/eci-platform/priv/certificate.key
TLSOptions NoCertRequest EnableDiags NoSessionReuseRequired
TLSCipherSuite ALL :!ADH:!DES
TLSVerifyClient off
TLSRenegotiate required off
TLSLog /var/log/proftpd/tls.log
notify
:
restart-ftp
notify
:
restart-ftp
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