Need pointers on managing client certs...

kdd21_at_hotmail.com
Date: 06/04/05

  • Next message: Colin McKinnon: "Re: Need pointers on managing client certs..."
    Date: 3 Jun 2005 15:32:09 -0700
    
    

    I'm not sure this is quite the right group, but perhaps someone will
    tell me what is, if it's not...

    I'm in the process of converting an application that currently uses
    dialup to handle secure transactions to an internet https based
    protocol. I have no control over the server side, just the client
    which is a Unix box. I've been exploring openssl and curl, and trying
    to figure out what is necessary in managing the certificate on the
    client side which appears to be subject to periodic expiration. I can
    get things to work simply by just telling curl not to do certificate
    verification (curl -k), but since there is in fact a certificate it
    would seem prudent not to do that.

    However, I've had some difficulty finding out just what the management
    of the client certificate involves. The client machine is a unix box
    running data entry users on our applications. Ultimately, no one on
    site with the machine will know anything about certificates or why you
    would want or need them, so the box will be essentially, unattended.
    And it is not practical to expect the users to contact us every year or
    so to get their cert file manually updated.

    So far, I've used IE on a PC to export the certificate from the site in
    question, which contained a CRL link that does return some data that I
    don't know what to do with. The "Authority Information Access" URL
    does not show a "crt" file, but is an "ocsp" URL so I gather I can't
    just use curl to get the URL and expect a useful certificate. I've
    tried to explore ocsp and how you use that, but it's not at all obvious
    if or how it applies to keeping a client certificate file up to date.
    Openssl can create a text certificate that looks like what I need from
    the IE exported DER (?) file, but it will expire in about six months,
    so I need to figure out what needs to happen to automatically update
    the client's cert file at that time. I also haven't been able to
    figure out how to get curl to get the DER data directly for me (that IE
    was obviously able to get) so that I don't have to use IE to do it.

    I'm not even sure exactly what questions to ask at this point, I've
    seen a dozen or so new buzzwords with which I'm completely unfamiliar,
    x509, DER, CRT, CRL, OCSP, PEM, yada yada... But basically, I think I
    can manually put together a cert file that will make curl happy, but
    what do I do in six months when it expires? Whatever it is, I need the
    system to do it unattended, as that is the kind of system it is.
    Hopefully some combination of voodoo in curl and openssl can accomplish
    that, but I need some direction where to look for an introductory
    explanation of the process. Is there a newbie FAQ about this subject
    somewhere?

    TX in advance,

    --
    KD
    

  • Next message: Colin McKinnon: "Re: Need pointers on managing client certs..."

    Relevant Pages

    • Re: Need pointers on managing client certs...
      ... I've been exploring openssl and curl, ... > client side which appears to be subject to periodic expiration. ... > get things to work simply by just telling curl not to do certificate ... OCSP is built into later versions of openssl. ...
      (comp.security.unix)
    • Re: Cannot request computer certificate.
      ... >problem since you can not request a certificate while logged onto the CA. ... Verify that you can ping it by name and IP address from the client ... >> Kerberos, or dns. ... >> List of NetBt transports currently bound to the Redir ...
      (microsoft.public.windows.server.security)
    • Re: The message must contain a wsa:To header
      ... My client app is not generating a trace file. ... the client is not applying the WSE policy at all because of an ... at ApplicationMessagingWS.Dispatch(String messageType, String ... look for a certificate with this subject name in the certificate store ...
      (microsoft.public.dotnet.framework.webservices.enhancements)
    • Re: L2TP/IPSec from XP client to Windows 2003 Server
      ... ie no valid cert found on client - contacted Microsoft ... Windows Server 2003 Certificate Authority running ... The next step is to install Certificate Services on the Windows Server ... From Networks Connections on the client, ...
      (microsoft.public.security)
    • Re: Cannot request computer certificate.
      ... I would verify that the certificate services service is running and set to ... Verify that you can ping it by name and IP address from the client ... > Kerberos, or dns. ... > List of NetBt transports currently bound to the Redir ...
      (microsoft.public.windows.server.security)