Giter VIP home page Giter VIP logo

Comments (7)

ac169 avatar ac169 commented on June 1, 2024

error

from certify.

webprofusion-chrisc avatar webprofusion-chrisc commented on June 1, 2024

Thanks, are you using the latest version of the app and are you aware that the app already generates it's own private keys?

from certify.

ac169 avatar ac169 commented on June 1, 2024

The application of CertifyTheWebSetup_v6.0.14.exe

Even if the new domain name is created, the first step is to add ECDSA to generate a private key, which will prompt this error. However, the private key generated by RSA has no such problem whether it is new domain name or before modification.

from certify.

webprofusion-chrisc avatar webprofusion-chrisc commented on June 1, 2024

Thanks, so do you want to use a custom ECDSA key or can you use the one the application generates itself? Most users do not supply their own keys.

from certify.

ac169 avatar ac169 commented on June 1, 2024

The demand here is to customize CSR, and CSR is associated with the private key! It's not to customize the private key. But it is obviously an imperfect problem with the Certify application itself

from certify.

webprofusion-chrisc avatar webprofusion-chrisc commented on June 1, 2024

The problem is that OpenSSL is emitting the key like this:

-----BEGIN EC PARAMETERS-----
BggqhkjOPQMBBw==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIPXwsorl9KGaY+dETyUCUmSkWwmFKQI76DSED2nB+l6aoAoGCCqGSM49
AwEHoUQDQgAExGw/NCe56HtwU9ojOzmJnNTuxjaYmO14yQTJvOSqfZwmHqVnHRps
KGmhIRorueQrywZoR7Hu8DirD0NH6OCVvA==
-----END EC PRIVATE KEY-----

but the app is expecting this:

-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIPXwsorl9KGaY+dETyUCUmSkWwmFKQI76DSED2nB+l6aoAoGCCqGSM49
AwEHoUQDQgAExGw/NCe56HtwU9ojOzmJnNTuxjaYmO14yQTJvOSqfZwmHqVnHRps
KGmhIRorueQrywZoR7Hu8DirD0NH6OCVvA==
-----END EC PRIVATE KEY-----

We will update the app to remove the extra EC PARAMETERS block openssl adds but you can alternatively use the -noout option to exclude the EC Params in the output:

openssl ecparam -name prime256v1 -genkey -noout -out test.key

Generally when people want to use a Custom CSR it's because the CSR is already provided (and they don't have the key because it's embedded in whatever system they are trying to generate a cert for). Also a CSR for a Let's Encrypt certificate etc can only include domain identifiers so things like OU, Country etc are ignored. I'm interested in knowing what customization you require for the CSR if you can share that.

from certify.

ac169 avatar ac169 commented on June 1, 2024

Thank you, I can try whether it is feasible

from certify.

Related Issues (20)

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.