I wanted to say that this is the correct answer and helped me a lot.
On Wednesday, April 27, 2016 at 12:05:56 PM UTC+10, as wrote:
>
> Openssl is generating a koblitz curve. Golang supports the standard FIPS
> curves. Try replacing secp256k1 with prime256v1.
--
You received this message because
Hi Megha,
Generate the key in DER format instead of PEM.
openssl ecparam -genkey -name secp384r1 -outform der -noout -out key.der
You can then read in the file using ioutil.ReadFile() for instance, and
pass the byte slice to x509.ParseECPrivateKey().
Adam
On Tuesday, April 26, 2016 at 5:07:15