Re: Creating a SPKAC

On 23 January 2018 at 08:14, Markus Sabadello <markus@danubetech.com> wrote:

> I wrote some Java code a while ago that can create this structure:
> https://github.com/jolocom/smartwallet-webid-proxy/blob/
> master/src/main/java/com/jolocom/webidproxy/ssl/SSLGenerator.java
>
> Not sure if it's useful..
>

Thanks Markus!

I also found :

https://github.com/jas-/node-spkac

SPKAC=MIIBXjCByDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3L0IfUijj7+A8CPC8
EmhcdNoe5fUAog7OrBdhn7EkxFButUp40P7+LiYiygYG1TmoI/a5EgsLU3s9twEz3
hmgY9mYIqb/rb+SF8qlD/K6KVyUORC7Wlz1Df4L8O3DuRGzx6/+3jIW6cPBpfgH1s
VuYS1vDBsP/gMMIxwTsKJ4P0CAwEAARYkYzBkZjFlYjctMTU0NC00MWVkLWFmN2Et
ZDRkYjBkNDc5ZjZmMA0GCSqGSIb3DQEBBAUAA4GBALEiapUjaIPs5uEdvCP0gFK2q
ofo+4GpeK1A43mu28lirYPAvCWsmYvKIZIT9TxvzmQIxAfxobf70aSNlSm6MJJKmv
urAK+Bpn6ZUKQZ6A1m927LvctVSYJuUi+WVmr0fGE/OfdQ+BqSm/eQ3jnm3fBPVx1
uwLPgjC5g4EvGMh8M
CN=Joe Snuffy
OU=Snake Oil, LLC
O=Department of pricing
L=City name
ST=State or province
C=United States
E=joe.snuffy@snakeoil.com


However I believe that C must be 2 characters long like US, not the long
name, but I'll see if I can check.


> Markus
>
> On 01/23/2018 06:41 AM, Melvin Carvalho wrote:
> > I just recently tested the KEYGEN element on firefox and it seems to
> > be working fine.
> >
> > However I'm unable to validate or sign a SPKAC [1]
> >
> > Does anyone have some code to do this?
> >
> > openssl -ca -spkac ./test.spkac
> >
> > Should verify the certificate signing request.  But I've yet to find a
> > file that verifies.
> >
> > Anyone got one?
> >
> > [1] https://en.wikipedia.org/wiki/SPKAC
>
>
>

Received on Tuesday, 23 January 2018 07:53:00 UTC