Search Issue Tracker

Active

Votes

0

Found in

2021.3.46f1

2022.3.53f1

6000.0.28f1

6000.1.0a6

Issue ID

UUM-87962

Regression

No

[iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate

--

-

Reproduction steps:
1. Create cert.pem and key.pem files
2. Host a web server with the created certificates
3. Install the generated cert.pem on an iOS device and toggle the “Enable full trust for root certificates” setting for the certificate
4. Open the attached “ASDQWE” project
5. Open the Build Profiles Window (File > Build Profiles)
6. In the Build Profiles Window, press the “Build” button to create an XCode project
7. Open the XCode project
8. In the XCode Window, deploy the build to a device
9. Inside the Player, enter the server’s IP address (without the port) into the “IP Address” input field and press the “Connect” button
10. Observe the text above the input field

Expected result: The text displays “Received: <html><body>Hello World!</body></html>”
Actual result: The text displays "The destination host has an erroneous SSL certificate"

Reproducible with: 2021.3.46f1, 2022.3.53f1, 6000.0.28f1, 6000.1.0a6

Reproducible environment: MacOS 14.6.1 Intel, MacMini 14.3.1 M1 (user’s)
Not reproducible environment: No other environment tested

Reproducible on:
VLNQA00382, Apple iPhone 7 (iPhone9,3), Android 15.8.3, CPU: Apple A10 Fusion, GPU: Apple A10 Fusion
VLNQA00395, Apple iPhone 13 (iPhone14,5), Android 15.0, CPU: Apple A15 Bionic, GPU: Apple A15 Bionic
iPhone X (user’s)

Not reproducible on:
Samsung Galaxy A04 (user’s)
MacOS Buildtime, Runtime (user’s)

Note: The issue occurs if the server is hosted on a Windows device as well

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.