Re: Encoding and comparing certificates with NSS

2011-01-31 Thread Robert Relyea
Depends on what you're trying to accomplish, what question you're trying to answer. If the question is merely are these two certs identical then comparing both from stem to stern is a very good way. If you're trying to ask do these two certs identify the same subject, then you may need to

Re: Encoding and comparing certificates with NSS

2011-01-30 Thread Nelson B Bolyard
On 2011-01-29 06:06 PDT, Ambroz Bizjak wrote: Hello. I have a problem with NSS. Here's what I'm trying to achieve: [ If I may paraphrase, system C sends a cert to systems A and B. ] [ A forwards its copy to B. B must compare the two copies. ] Here's how I encoded the certificate (on

Re: Encoding and comparing certificates with NSS

2011-01-30 Thread Ambroz Bizjak
On Jan 30, 11:54 am, Nelson B Bolyard nel...@bolyard.me wrote: B is going to log about the connection from C before it happens? uh ... Yes; A is in fact a server for a centralized peer-to-peer network and B and C are peers. It would be useful if the logs of a given peer contained the common

Encoding and comparing certificates with NSS

2011-01-29 Thread Ambroz Bizjak
Hello. I have a problem with NSS. Here's what I'm trying to achieve: I have systems A and B which have a connection established. Then system C connects to system A through SSL, identifying itself with a client certificate. System C is then also expeted to connect to system B, and in doing so, it