Skip to content

PlatformNotSupportedException on Unix when exporting multiple private keys in a single PFX #15004

Closed
dotnet/corefx
#42226

Description

@bartonjs

The beta7 PFX/PKCS12 export code will use OpenSSL's PKCS12_create function, which only supports one private key.

OpenSSL doesn't have an inherent limitation against PKCS12 files containing multiple private keys, but the helper function can't handle it; and we're running out of time in beta7 to write it out longhand.

Activity

  1. self-assigned this
    on Aug 11, 2015
  2. removed their assignment
    on Nov 9, 2016
  3. vcsjones commented on Nov 9, 2016

    @vcsjones
    Member

    @bartonjs I could possibly do a PR for this. Is the code path for this X509Certificate2Collection.Export with the content type set to PKCS12?

  4. transferred this issue fromdotnet/corefxon Jan 31, 2020
  5. added this to the 5.0 milestone on Jan 31, 2020
  6. ghost locked as resolved and limited conversation to collaborators on Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Securitydisabled-testenhancementhelp wantedos-linux

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions