Git Product home page Git Product logo

ansible-openssl's People

Contributors

alpha01 avatar dmexe avatar rclayton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-openssl's Issues

Server Certs Extended Key Usage

I'm using this role to create certs for Bacula. It seems it needs certain cert features to be present, which I don't seem to be able to provide.

I create the CA like this:

- name: Create a CA
  ca: certdir="/etc/certs" subj="/DC=com/DC=mycompany/CN={{ ansible_fqdn }}"

And I create the cert like this:

- name: Create a self-signed, self-CA server cert for general use
  certificate: cadir="/etc/certs" hostname="{{ inventory_hostname }}" subj="/DC=com/DC=mycompany/CN={{ ansible_fqdn }}/" p12password="{{ server_cert_password }}"
  delegate_to: localhost

(I then copy the cert files created on my ansible server to the backups server)

However, following some info on http://list.resiprocate.org/archive/resiprocate-devel/msg08059.html, if I ask what the cert is usable for, I get this:

# openssl x509 -text -noout -in server/backups.cert.pem | egrep 'Extend|TLS'
            X509v3 Extended Key Usage:
                TLS Web Server Authentication

It appears I need something more like this:

            X509v3 Extended Key Usage:
                TLS Web Client Authentication, TLS Web Server
Authentication, Netscape Server Gated Crypto, Microsoft Server Gated Crypto

Is there a way to specify cert options, or to change the defaults that a 'server' cert is built with?

Open Source License?

I'm very interested in some of the work you've done here, but I don't see a license within the repo or in any of the source files. Have you considered an open source license, like Apache 2 or MIT, for your code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.