Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-30683

Strict content validation doesn't like PKCS #12 files

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:

      Description

      I tried to upload our code signing certificate to Nexus, but Nexus doesn't like it.
      The file has file extension .p12 and the Java keytool says Keystore-Typ: PKCS12.
      But on trying to publish to Nexus it complains with

      Could not PUT '.../keystore-version.p12'. Received status code 400 from server: Detected content type [application/x-x509-key], but expected [application/x-pkcs12]: .../keystore-version.p12

      Work-around is to disable the strict content type validation for that repository.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vampire Björn Kautler
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title