cchandler / certificate_authority

Ruby gem for managing the core functions outlined in RFC-3280 for PKI
https://github.com/cchandler/certificate_authority
194 stars 44 forks source link

Ability to configure the signing algorithm #18

Closed 3goats closed 12 years ago

3goats commented 12 years ago

Hi,

Is there way to configure the certificate signing algorithms's when creating certificates?

Best Regards,

Carl

cchandler commented 12 years ago

I'll add a flag for this in the next few days. I'm going to be gathering together a bunch of issues and putting together a new release.

cchandler commented 12 years ago

The signing_profile now recognizes "digest" so you can specify an OpenSSL digest string. So if you want SHA1 instead of SHA512 you can call sign!({"digest" => "SHA1"}). I'll be releasing a new version later today.