Re: Node.js WebID implementation

On 7 September 2015 at 14:09, Miel Vander Sande <Miel.VanderSande@ugent.be>
wrote:

> Hi all,
>
> Time to revamp this old thread. Does anyone know on any progress or
> workarounds in this regard? The request.connection.getPeerCertificate()
> still doesn't seem to return any X509 extensions, hence the client's WebID
> cannot be extracted from the Subject Alternative Name.
> I also looked at the Forge (https://github.com/digitalbazaar/forge) library,
> but that seems like a lot of overhead compared to https library.
>
> Or is there a way to get the raw certificate from the client and parse it
> with a library like this https://www.npmjs.com/package/x509?
>

Does this code work?

https://github.com/linkeddata/ldnode/blob/master/lib/login.js#L24


>
>
> Kind regards,
>
> Miel Vander Sande
> Researcher Semantic Web - Linked Open Data
> Multimedia Lab [Ghent University - iMinds]
>
> T: +32 9 33 14893
>
>
>
>

Received on Monday, 7 September 2015 14:15:34 UTC