VPN and Microsoft’s Certificates [Resolved]

Home Page Forums Network Management ZeroShell VPN and Microsoft’s Certificates [Resolved]

This topic contains 0 replies, has 0 voices, and was last updated by  jeanb 8 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42955

    jeanb
    Member

    I know how to configure VPN Lan-to-Lan with Linux certificates.

    When I import server certificate, I use two files:
    – Linux “certificate” file,
    – Linux “key” file.

    I try know to use Microsoft CA.

    At Microsoft CA, you don’t have “key” file for a server. You only have a certificate file (and for a user too). And I don’t know if it is possible to have this key file, I’ve never seen that before in Microsoft.

    So, my question is: is it possible to import Microsoft’s certificates for server or user in Zeroshell ?

    Thanks for all.

    #51699

    jeanb
    Member

    For a user (not a server):
    – instal certificate,
    – extract it (with MMC “Certificates” or IE by example) in “filename.pfx”.

    Use the “.bat” below:
    openssl pkcs12 -in filename.pfx -nocerts -out key.pem
    openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem
    openssl rsa -in key.pem -out server.key

    The result file “server.key” contains the pivate key.

    In Zeroshell:
    – in certificate, select file “cert.pem”,
    – in key, select file “server.key”.

    This doesn’t work for server: I’m not able to extract a file with private key, only without…

    Thanks for all.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.