Skip to content

INTER-1895 Fix SSL Mismatch - #79

Merged
Orkuncakilkaya merged 5 commits into
mainfrom
inter-1895-akamai-fix-ssl
Mar 25, 2026
Merged

INTER-1895 Fix SSL Mismatch#79
Orkuncakilkaya merged 5 commits into
mainfrom
inter-1895-akamai-fix-ssl

Conversation

@Orkuncakilkaya

@Orkuncakilkaya Orkuncakilkaya commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces significant enhancements to the Akamai property rules configuration by switching origin certificate verification to a custom mode and specifying which certificate authorities and common name values should be honored. Additionally, a new script function is added to automate patching these settings during deployment. These changes improve security and flexibility in certificate validation for origin connections.

Akamai property rules configuration updates:

  • Changed verificationMode from "THIRD_PARTY" to "CUSTOM" in multiple origin rules, enabling custom certificate validation logic. [1] [2] [3]
  • Added customValidCnValues, originCertsToHonor, and standardCertificateAuthorities options to origin rules, specifying which common names and certificate authorities are considered valid. [1] [2] [3]

Deployment script enhancements:

  • Introduced patchDefaultRuleOrigin function in scripts/deployRules.ts to automate patching the default rule with custom certificate validation settings, including removing an unnecessary behavior.
  • Updated deployment flow to call patchDefaultRuleOrigin before adding fingerprint rules and activating the version, ensuring the new settings are applied during deployment.

@github-actions

Copy link
Copy Markdown
Contributor

This PR will create a patch release 🚀

1.0.1 (2026-03-20)

Bug Fixes

  • supernet error due to ssl mismatch (0d0c448)

@Orkuncakilkaya Orkuncakilkaya changed the title Inter 1895 akamai fix ssl INTER-1895 Fix SSL Mismatch Mar 20, 2026
@ilfa
ilfa requested a review from Copilot March 20, 2026 12:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Akamai origin TLS certificate verification to use custom validation (explicit CNs + trusted CA sets) to address SSL mismatch scenarios, and adds a deployment-time patch to apply these settings to the property default rule.

Changes:

  • Switch verificationMode to CUSTOM and add customValidCnValues, originCertsToHonor, and standardCertificateAuthorities to multiple origin behaviors in the rules template.
  • Add patchDefaultRuleOrigin in the deployment script to patch the property’s default rule origin settings during deployment.
  • Update the deployment flow to apply the default-rule patch before adding fingerprint rules and activating.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
scripts/deployRules.ts Adds a JSON Patch step to modify default-rule origin certificate validation and remove a behavior during deployment.
assets/rulesTemplate.json Updates origin behaviors to use CUSTOM cert verification and explicit CN/CA allowlists.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/deployRules.ts
Comment thread scripts/deployRules.ts
Comment thread scripts/deployRules.ts
@Orkuncakilkaya
Orkuncakilkaya merged commit b752e05 into main Mar 25, 2026
28 of 37 checks passed
@Orkuncakilkaya
Orkuncakilkaya deleted the inter-1895-akamai-fix-ssl branch March 25, 2026 17:35
@fingerprint-dx-team

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants