robertdebock/ansible-role-httpd

Provide an option to add custom SSL Certificates during install

Opened this issue · 1 comments

Proposed feature

It would be nice to have a way to specify an SSL Certificate file or data that would be placed in the target machine as a matter of course.

Rationale

I have been working on using this for my web servers. I run into this problem where I need to place my existing SSL Certificate in the apache configuration but can not do that. This leads to apache restart failing and thus failing the entire run of ansible.

It's entirely possible that I am missing some configuration option that is otherwise obvious but I thought I'd raise the issue to get your attention either way.

Thanks.

flotho commented

Hi @AliSajid ,

I imagine that your need is covered by 2 differentes roles.
First, the one that allow you to setup certificates https://github.com/robertdebock/ansible-role-openssl
and the other one once httpd has been installed should be managed by https://github.com/robertdebock/ansible-role-certbot