Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Setting Ca file mode #33

Merged
merged 4 commits into from
Sep 14, 2017
Merged

Allow Setting Ca file mode #33

merged 4 commits into from
Sep 14, 2017

Conversation

roock
Copy link
Contributor

@roock roock commented Sep 12, 2017

Allow Setting Ca file mode per certificate. Tested with Debian 8.
(i'm only submitting the PR, original work done by tmaher)

@@ -5,6 +5,8 @@
$trusted_cert_dir = '/usr/local/share/ca-certificates'
$update_cmd = 'update-ca-certificates'
$cert_dir_group = 'staff'
$cert_dir_mode = '2665'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On an out of the box Ubuntu server, the certificate directory mode is 0555 - should this match the others?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. Debian has '2665', Ubuntu has '0555'. I'll add more condition logic to reflect this difference.

@pcfens pcfens merged commit 3d7f3c8 into voxpupuli:master Sep 14, 2017
@roock roock deleted the ca-file-mode branch September 15, 2017 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants