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

Create a SSL CSR #10

Closed
wants to merge 7 commits into from
Closed

Create a SSL CSR #10

wants to merge 7 commits into from

Conversation

adiroiban
Copy link
Member

Problem

We want to create CSR + key from command line but also from Python API

Changes

Created 3 new methods. one to generate the commnad line options, another one to to generate the key/csr and another one to take care of writing to disk.

As a drive by I have updated the test runner to print speed reports and wrote a test for self signed certificate so that we have 100% coverage for ssl module.

How to test

reviewers: @alibotean

check that changes make sense

Use the demo tool to generate a csr

@coveralls
Copy link

Coverage Status

Coverage increased (+1.98%) to 97.47% when pulling 999937c on 10-gen-csr into 774dbab on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.98%) to 97.47% when pulling 30da1a9 on 10-gen-csr into 774dbab on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.98%) to 97.47% when pulling 68f6543 on 10-gen-csr into 774dbab on master.


def test_value(self):
"""
Options are parsed form command line.

Choose a reason for hiding this comment

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

from

@alibotean
Copy link

Just some minor comments.

changes-approved

@coveralls
Copy link

Coverage Status

Coverage increased (+1.98%) to 97.47% when pulling dd3fd85 on 10-gen-csr into 774dbab on master.

adiroiban added a commit that referenced this pull request Apr 7, 2015
@adiroiban adiroiban closed this Apr 7, 2015
@adiroiban adiroiban deleted the 10-gen-csr branch April 7, 2015 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants