Coder Social home page Coder Social logo

cert_sorcerer's People

Contributors

rob-c avatar sfayer avatar verdurin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cert_sorcerer's Issues

MD5 CSR signing will no longer work

Hi,
A change on the CA backend means that MD5 signing of CSRs will soon no longer be supported. You should be able to change this to something like SHA256withRSA (this is what CertWizard is now using) for continued support for CSRs,
Thanks,
Will.

csr.sign(key, "md5")

Update CA certs

The code still contains an embedded copy of the SHA1 signed CA cert which was recently revoked: This should be updated to the newer version.

Renewal fails with version 1.0.11

Traceback (most recent call last):
  File "/usr/bin/CS.py", line 830, in <module>
    CS_UI.renew_cert(store, cn, hostcert)
  File "/usr/bin/CS.py", line 697, in renew_cert
    CS_CertTools.create_csr(store, cn, hostcert)
  File "/usr/bin/CS.py", line 289, in create_csr
    raise Exception("Certificate in wrong state to create new CSR.")

Additional API endpoint for getting certificates

Hello,

I've recently done some development work on the CertWizard API (known to us as CA-Server) to fix a bug we've been having with getting back certificates. The original endpoint accepted a GET request to

https://cwiz-live.ca.ngs.ac.uk/resources/resource/publickey/<base64-encoded-public-key> which then lets you get information associated with a certificate. We noticed an issue where if the base64 encoding had more than once consecutive / then things could break.

So you can instead sent a POST request to https://cwiz-live.ca.ngs.ac.uk/resources/resource/publickey/pk with the following content. The return content has not changed. The GET method also still exists for backwards compatibility, so you might not need to do anything if you haven't noticed any issues.

<PublicKey>
base64-encoded-public-key
</PublicKey>

py3 development version seems to submit DN as lower case, hence not recognising existing DN

Processing USER cert with "CN=/c=uk/o=escience/ou=imperial/l=physics/cn=daniela bauer" (OU=Imperial,L=Physics,O=eScience,C=UK).
There is no local data about this DN, request a new cert [y/N]? N
Abort ... abort... abort....
deathstar:~ :~] openssl x509 -in .globus/usercert.pem -noout -subject
subject=C = UK, O = eScience, OU = Imperial, L = Physics, CN = daniela bauer

SAN set incorrectly for usercert renewals

When renewing a usercert, the user's e-mail should be included as a SAN, however currently the default e-mail is used instead. The CA used to ignore this and use the main request e-mail in the SAN anyway, but it appears the incorrect value is now honoured. This is the line that should include the e-mail:

CS_CertTools.create_csr(store, cn, hostcert)

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.