realm-swift: static.realm.io certificate has expired

How frequently does the bug occur?

Always

Description

> curl https://static.realm.io -v
*   Trying [2600:9000:21c4:1400:c:c7f8:96c0:93a1]:443...
* Connected to static.realm.io (2600:9000:21c4:1400:c:c7f8:96c0:93a1) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* SSL certificate problem: certificate has expired
* Closing connection 0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Stacktrace & log output

 Installing Realm (10.33.0)
[!] /bin/bash -c 
set -e
sh scripts/setup-cocoapods.sh

Downloading dependency: 12.13.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.13.0.tar.xz
Downloading core failed:
	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.13.0.tar.xz
	curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Can you reproduce the bug?

Always

Reproduction Steps

  1. Attempt to install Realm via Cocoapods

Version

12.13.0

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

macOS 13

Build environment

Xcode version: Xcode 14.1 Dependency manager and version: Cocoapods 1.11.3

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 19
  • Comments: 24 (1 by maintainers)

Commits related to this issue

Most upvoted comments

static.realm.io certificate has expired. We are working to fix this and we hope to have a resolution by the end of the day.

Downloading of binaries from static.realm.io has been fixed. Please accept our apologies for the inconvenience.

That is not an options as this dependency is being downloaded on our CI system.On 9 Jan 2023, at 14:57, Ilya Semenow @.***> wrote: Workaround You can add insecure option to your $HOME/.curlrc file: vi $HOME/.curlrc Append the following: insecure Save and close the file. However, I do not recommend disabling SSL checks for all connections by default for security reasons. More details here https://www.cyberciti.biz/faq/how-to-curl-ignore-ssl-certificate-warnings-command-option/

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Seems same thing happened in past –

[Realm SSL Issue] (https://github.com/realm/realm-swift/issues/7825)