Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for non-SNI SSL certificate in WixToolset.Http #442

Closed

Conversation

solidstore
Copy link

Added support for installing and binding an SSL certificate to an HTTP port.

Example:

        <Component>
            <File Source="example.txt" />
            <http:Certificate Id="SomeCertificate"
                              Name="Some Certificate"
                              StoreLocation="localMachine"
                              StoreName="my"
                              CertificatePath="[SOME_PATH]"
                              PFXPassword="[PFX_PASS]"/>
            <http:SslBinding Host="0.0.0.0" Port="8081" HandleExisting="fail">
                <http:CertificateRef Id="SomeCertificate" />
            </http:SslBinding>
        </Component>

commit 320db2b
Merge: 5bf3981 59f37d2
Author: Ryan Stevens <[email protected]>
Date:   Thu Aug 10 07:53:33 2023 +0100

    Merge branch 'wixtoolset:develop' into develop

commit 5bf3981
Author: solidstore <[email protected]>
Date:   Thu Aug 10 07:51:33 2023 +0100

    tidy

commit 5cef22f
Author: solidstore <[email protected]>
Date:   Wed Aug 9 14:51:26 2023 +0100

    Delete WixHttpSslCertSymbol.cs

commit 915c08d
Author: solidstore <[email protected]>
Date:   Wed Aug 9 14:01:46 2023 +0100

    SSL bindings latest

commit 451ba3c
Author: solidstore <[email protected]>
Date:   Mon Aug 7 15:24:02 2023 +0100

    Bindings refactor

commit f646f02
Author: solidstore <[email protected]>
Date:   Thu Aug 3 08:47:41 2023 +0100

    renaming Certificate fields

commit 0be5144
Merge: cef14c6 dad178d
Author: solidstore <[email protected]>
Date:   Thu Aug 3 07:51:38 2023 +0100

    Merge branch 'develop402' into develop

commit dad178d
Author: solidstore <[email protected]>
Date:   Wed Jul 19 10:12:27 2023 +0100

    CertificateRef support

commit 2f42efa
Author: solidstore <[email protected]>
Date:   Tue Jul 18 11:21:21 2023 +0100

    SetSslCertSetKey fixes

commit 1a4fabf
Author: solidstore <[email protected]>
Date:   Mon Jul 17 13:58:11 2023 +0100

    HTTP_SERVICE_CONFIG_SSL_SET support

commit 3d9737d
Author: Bob Arnson <[email protected]>
Date:   Tue Jul 11 21:19:08 2023 -0400

    Partial fix for the weirdly broken...

    IWindowsInstallerDecompileContext.TreatProductAsModule.

    wixtoolset/issues#7607

commit 22dadea
Author: Bob Arnson <[email protected]>
Date:   Thu Jun 29 21:16:35 2023 -0400

    Extract object fields with modularization GUIDs.

commit ed2a8d1
Author: Bob Arnson <[email protected]>
Date:   Tue Jun 20 20:09:19 2023 -0400

    Handle MergeModule.CABinet for extraction.

    Fixes wixtoolset/issues#7568,

commit 140abaa
Author: Bob Arnson <[email protected]>
Date:   Wed Jun 21 19:53:56 2023 -0400

    Start WiX Toolset v4.0.2.

commit 6e6eb47
Author: Rob Mensching <[email protected]>
Date:   Sun Jun 4 10:47:29 2023 -0700

    WiX Toolset v4.0.1

commit e25aa43
Author: Rob Mensching <[email protected]>
Date:   Fri Jun 2 11:45:10 2023 -0700

    ProjectReferences to wixlibs should participate in DefineConstants creation

    Also fix documentation in ResolveWixLibraryReferences target.

    Fixes 7512

commit 29cec14
Author: Bob Arnson <[email protected]>
Date:   Wed May 31 16:04:27 2023 -0400

    Downgrade bad ProductVersion error to warning.

    Fixes wixtoolset/issues#7522.

commit 856658a
Author: Rob Mensching <[email protected]>
Date:   Tue May 30 08:28:14 2023 -0700

    Obsolete removed PackageState.Cached value

    A package's cached status is no longer set via the PackageState. The value was
    removed in native code but the managed code was missed throwing off the enum
    mapping.

    Fixes 7399

commit 36e3408
Author: Rob Mensching <[email protected]>
Date:   Mon May 22 09:47:17 2023 -0700

    Update CLA signatures location

commit ddc7997
Author: Bob Arnson <[email protected]>
Date:   Wed May 17 18:14:59 2023 -0400

    Fix duplicate keys from inline subdirectories.

    Fixes wixtoolset/issues#7459.

commit 1da042f
Author: Bob Arnson <[email protected]>
Date:   Mon May 15 21:05:50 2023 -0400

    Skip processing missing FeatureComponents table.

    Fixes wixtoolset/issues#7472.

commit 5ddb81c
Author: Bob Arnson <[email protected]>
Date:   Thu May 11 22:57:46 2023 -0400

    Fix Dialog table decompilation.

    Fix duplicate NoMinimize attribute and
    add attributes that were entirely missing.

    Fixes wixtoolset/issues#7482.

commit f86155f
Author: timberto <[email protected]>
Date:   Tue Apr 18 12:34:25 2023 +0200

    Show correct error message when upgrade is blocked

commit 13dbe58
Author: Bob Arnson <[email protected]>
Date:   Tue May 2 20:39:26 2023 -0400

    Fix Msmq key table relationship.

    Fixes wixtoolset/issues#7454.

commit 0844d65
Author: Nir Bar <[email protected]>
Date:   Sun Apr 23 07:55:21 2023 +0300

    Fix build failure when bundle has multiple RemoteBundle elements

commit 9b78fdf
Author: fyodorkor <[email protected]>
Date:   Thu Apr 13 22:37:02 2023 +0300

    Fix XmlConfig decompile to produce schema element, Add unitest for XmlDecomile

commit 5520259
Author: Bob Arnson <[email protected]>
Date:   Mon May 1 21:09:14 2023 -0400

    Tame some wild pointers.

    Maybe Rust wouldn't be so bad...

    Fixes wixtoolset/issues#7451.

commit 1d7ca4c
Author: Bob Arnson <[email protected]>
Date:   Thu Apr 27 21:06:35 2023 -0400

    Fix XmlConfig lookup logic.

    Fixes wixtoolset/issues#7377.
    Requires fix for wixtoolset/issues#7444.

commit 1da29b4
Author: Bob Arnson <[email protected]>
Date:   Mon Apr 24 22:16:34 2023 -0400

    Fix WcaErrorMessage `cArgs==-1` case.

    - Count args before creating message record.
    - Document terminating NULL requirement.
    - Add terminating NULL in MessageExit* macros.
    - Enhance tests for problems encountered fixing this nightmare.

    Fixes wixtoolset/issues#7422.
    Fixes wixtoolset/issues#7444.

commit 2914646
Author: Bob Arnson <[email protected]>
Date:   Wed Apr 26 13:33:59 2023 -0400

    Remove InstallDirDlg reference from WixUI_Mondo

    Fixes wixtoolset/issues#7436.

commit 8461656
Author: Bob Arnson <[email protected]>
Date:   Thu Apr 20 18:23:07 2023 -0400

    Fix merged ProductCode from mergemod.cub and...

    ...work around other bugs in mergemod.cub.

    Fixes wixtoolset/issues#7413.

commit 005a33a
Author: Mike Wileczka <[email protected]>
Date:   Wed Apr 19 10:12:24 2023 -0400

    Fix harvesting project names with invalid chars

    Project names with invalid characters, namely spaces, where not being harvested properly. The sanitized name is requires for the `Source="$(var.PROJECT_NAME` output. Updated harvest project unit test for project names with spaces.

commit b4fe940
Author: Rob Mensching <[email protected]>
Date:   Tue Apr 18 09:02:59 2023 -0700

    Do not crash on Subdirectory when missing Component Directory attribute

    Fixes 7407

commit 2fa6703
Author: Rob Mensching <[email protected]>
Date:   Tue Apr 18 08:43:26 2023 -0700

    Allow "." as valid Directory SourceName

    Fixes 7384

commit 6d2fa6a
Author: Rob Mensching <[email protected]>
Date:   Fri Jun 2 22:55:23 2023 -0700

    Start WiX Toolset v4.0.1
@github-actions
Copy link

github-actions bot commented Aug 10, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@solidstore
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

wixbot added a commit to wixtoolset/.github that referenced this pull request Aug 10, 2023
@barnson
Copy link
Member

barnson commented Aug 13, 2023

General feedback is that there's too much duplication, both between IIs cert CAs and the new cert CAs here and snisslcert.cpp and sslcert.cpp here. Can more of the tables be shared? That would help with code sharing.

@solidstore
Copy link
Author

Agreed. I knew there was a lot of overlap. I'll refactor to share tables, however, when I tried this I couldnt find away to use a second extension during the unit tests.

@barnson
Copy link
Member

barnson commented Aug 15, 2023

@chrisbednarski added that feature: #434

@barnson
Copy link
Member

barnson commented Jan 2, 2024

@solidstore we're finalizing WiX v5 plans so if you want this in WiX v5, it needs to be done this month.

@robmen robmen deleted the branch wixtoolset:develop April 6, 2024 01:32
@robmen robmen closed this Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants