Skip to content

Fixed SSL CA chain on iOS and tvOS#1331

Open
MAJigsaw77 wants to merge 2 commits intoHaxeFoundation:masterfrom
FunkinCrew:bugfix/fix-ssl-ca-chain-on-ios-and-tvos
Open

Fixed SSL CA chain on iOS and tvOS#1331
MAJigsaw77 wants to merge 2 commits intoHaxeFoundation:masterfrom
FunkinCrew:bugfix/fix-ssl-ca-chain-on-ios-and-tvos

Conversation

@MAJigsaw77
Copy link
Copy Markdown
Contributor

@MAJigsaw77 MAJigsaw77 commented Apr 1, 2026

This pr has been originally done FunkinCrew#11 but since this is a pretty important fix for hxcpp i thought why not do it here aswell, it fixes #570 by properly setting the SSL CA chain on iOS and tvOS.

@MAJigsaw77 MAJigsaw77 force-pushed the bugfix/fix-ssl-ca-chain-on-ios-and-tvos branch from 380e6cb to 3c97548 Compare April 5, 2026 16:40
Copy link
Copy Markdown

@KarimAkra KarimAkra left a comment

Choose a reason for hiding this comment

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

Trying https requesting into https://jsonplaceholder.typicode.com/users on Funkin
All of onData, onBytes, and onStatus callbacks are working fine

image image

@KarimAkra
Copy link
Copy Markdown

KarimAkra commented Apr 5, 2026

Post request at https://jsonplaceholder.typicode.com/posts works as well!

@IriySoft
Copy link
Copy Markdown

IriySoft commented Apr 6, 2026

This pr fixed the issue for me, thanks! Hope it's merged soon

Comment thread src/hx/libs/ssl/SSL.cpp Outdated
@MAJigsaw77 MAJigsaw77 force-pushed the bugfix/fix-ssl-ca-chain-on-ios-and-tvos branch from 2c40c91 to 91de865 Compare April 17, 2026 20:55
@MAJigsaw77 MAJigsaw77 force-pushed the bugfix/fix-ssl-ca-chain-on-ios-and-tvos branch from 91de865 to caa098e Compare April 17, 2026 21:16
@MAJigsaw77
Copy link
Copy Markdown
Contributor Author

Theres been a typo that happend in this commit since this is how it was before that happend which made it so the certificate was never check properly, i hope its fine to add this one line change here...

Copy link
Copy Markdown
Member

@tobil4sk tobil4sk left a comment

Choose a reason for hiding this comment

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

The typo fix looks correct. Everything else looks reasonable too now (though I can't test it).

Copy link
Copy Markdown

@TechnikTil TechnikTil left a comment

Choose a reason for hiding this comment

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

latest changes work for me on iOS 26.3.1!

will do testing on tvOS once i figure out where my Apple TV is…

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.

[ios] SSL - No CA Chain is set, but required to operate

6 participants