Branch: refs/heads/master
Home: https://github.com/conformal/btcutil
Commit: 759451c0460faacf763f5897a91a4477a1002816
https://github.com/conformal/btcutil/commit/759451c0460faacf763f5897a91a4477a1002816
Author: Dave Collins <[email protected]>
Date: 2014-01-29 (Wed, 29 Jan 2014)
Changed paths:
M certgen.go
Log Message:
-----------
Correct and improve cert generation.
This commit changes three things with cert generation.
- The extended key usage field has been removed since specifying the
extended key usage field prevents the cert from working with firefox
even when it specifies it can be used as a server
- Creates a random serial number since browsers like firefox and chrome
won't accept two certificates with the same issuer and serial number
- Adds the digital signature key usage capability since some validators
like node.js expect that instead of key encipherment