Giter Site home page Giter Site logo

davidwittman / csrgenerator.com Goto Github PK

View Code? Open in Web Editor NEW
190.0 12.0 68.0 91 KB

Flask micro-webapp to generate Certificate Signing Requests

Home Page: https://csrgenerator.com

License: MIT License

Python 51.93% JavaScript 2.31% HTML 42.42% Makefile 2.37% Dockerfile 0.97%

csrgenerator.com's People

Contributors

anoited007 avatar davidwittman avatar dependabot[bot] avatar peter279k avatar r0gger 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  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  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  avatar  avatar  avatar

csrgenerator.com's Issues

Mention security considerations on the generator page

Since the generator caters to a less security-savvy crowd, it should mention that using private keys generated by a third party creates a number of potential security problems (after all, you could theoretically store all generated private keys and use them to impersonate someone's domain).

ASN1 error on generated CSR

The CSR file generated has an invalid INTEGER (l=0) which generates errors on openssl.
Error information:

Error reading certificate request in test.csr
140173603737536:error:0D0E20DE:asn1 encoding routines:c2i_ibuf:illegal zero content:crypto/asn1/a_int.c:154:
140173603737536:error:0D08303A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error:crypto/asn1/tasn_dec.c:609:Field=version, Type=X509_REQ_INFO
140173603737536:error:0D08303A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error:crypto/asn1/tasn_dec.c:609:Field=req_info, Type=X509_REQ
140173603737536:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:crypto/pem/pem_oth.c:33:

Difference between CSRs generated by openssl and csrgenerator.com

openssl:
    0:d=0  hl=4 l=1297 cons: SEQUENCE          
    4:d=1  hl=4 l= 761 cons: SEQUENCE          
    8:d=2  hl=2 l=   1 prim: INTEGER           :00
   11:d=2  hl=2 l= 119 cons: SEQUENCE          
   13:d=3  hl=2 l=  11 cons: SET               
   15:d=4  hl=2 l=   9 cons: SEQUENCE          
   17:d=5  hl=2 l=   3 prim: OBJECT            :countryName

csrgenerator.com:
    0:d=0  hl=4 l= 699 cons: SEQUENCE          
    4:d=1  hl=4 l= 419 cons: SEQUENCE          
    8:d=2  hl=2 l=   0 prim: INTEGER           :BAD INTEGER:[]
   10:d=2  hl=2 l= 119 cons: SEQUENCE          
   12:d=3  hl=2 l=  11 cons: SET               
   14:d=4  hl=2 l=   9 cons: SEQUENCE          
   16:d=5  hl=2 l=   3 prim: OBJECT            :countryName

optional property

i need to add some optional property (for example: serialnumeber) to csr .
how can i do it?

Python 3 Support

I like the idea of Python 3. It'd be nice to support it someday.

Mention security considerations on the generator page

Since the generator caters to a less security-savvy crowd, it should mention that using private keys generated by a third party creates a number of potential security problems (after all, you could theoretically store all generated private keys and use them to impersonate someone's domain).

Suggestion: Store generated csrs and provide download option

Thank you for a great tool!

In my case, we generate a lot of csrs for clients and once the client purchases the SSL, we install it on our LB.

However, we want to keep a history of these so that we can refer to them at any time and download them ( even a project manager should be able to download and send it to the client ).

I have enhanced the tool a bit with these features.

Would you be interested if I shared it or are those beyond the scope of your tool ?

Let me know.

Thanks.

For Shared Hosting

Not a Techie...

If I need to install it on my Linux Shared Hosting on a Sub Domain how will I do the same.

Thanks

Support Generating CSR without State and Locality

There are some applications that use x509 certificates without state and locality. Some generators support using "." (dot) to mean an empty state and locality.

Is it possible to support it at csrgenerator.com as well?

get public key

Thank you for the wonderful tool you have created
Is there a way to get public key in addition to csr and private key?

Support SAN domains

Most modern TLS implementations rely on the Subject Alternative Names instead of the CN anyway.

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.