Skip to content

Sssl certificate expired #595

@ulisesyo

Description

@ulisesyo

Description

Hi! I'm trying to run a sentry client from Linux. I am experiencing some troubles with SSL certificates (curl is failing to send the events). I have already integrated in Windows and it works perfect. I don't know how to update my certificates, or if this issue is related to server (sentry.io) certificates.

When does the problem happen

  • During build
  • During run-time
  • When capturing a hard crash

Environment

  • OS: Amazon Linux 2 (virtual machine over virtualbox)
  • Compiler: gcc
  • CMake version and config: 3.18.0, SENTRY_BACKEND=breakpad

Steps To Reproduce

I get it just running the example with the params log capture-event

Log output

[ec2-user@amazonlinux build]$ ./sentry_example log capture-event
[sentry] INFO using database path "/mnt/d/depot/branches/wreckfest_ng/library/tmpSentry/sentry-native/build/.sentry-native"
[sentry] DEBUG starting transport
[sentry] DEBUG starting background worker thread
[sentry] DEBUG starting backend
[sentry] DEBUG background worker thread started
[sentry] DEBUG merging scope into event
[sentry] DEBUG trying to read modules from /proc/self/maps
[sentry] DEBUG read 39 modules from /proc/self/maps
[sentry] DEBUG adding attachments to envelope
[sentry] DEBUG sending envelope
[sentry] DEBUG submitting task to background worker thread
[sentry] DEBUG executing task on worker thread
[sentry] DEBUG shutting down backend
[sentry] DEBUG shutting down transport
[sentry] DEBUG shutting down background worker thread
[sentry] DEBUG submitting task to background worker thread
*   Trying XXX.
* TCP_NODELAY set
* Connected to XXX port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL certificate problem: certificate has expired
* Closing connection 0
[sentry] WARN sending via `curl_easy_perform` failed with code `60`
[sentry] DEBUG executing task on worker thread
[sentry] DEBUG background worker thread shut down

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThis issue poses a question

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions