Add Authorized Certificates to Cursor

We need an option to install custom certificates of authorities in Cursor.
This week the company that i work use an crap traffic monitor called Netskope.
Netskope replace the requests with his own certificate to see what we are doing and it breaks the cursor, we need a way to pass the certificate to the cursor so it stops breaking.
see the logs while i was executing cursor in my Ubuntu 22.04.5 LTS:

./cursor.AppImage                                                           ⏎
c [FetchError]: request to https://api2.cursor.sh/aiserver.v1.AuthService/DownloadUpdate failed, reason: self signed certificate in certificate chain
    at ClientRequest.<anonymous> (/tmp/.mount_cursory0d9Jk/resources/app/out/main.js:1:313656)
    at ClientRequest.emit (node:events:514:28)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:514:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'SELF_SIGNED_CERT_IN_CHAIN',
  code: 'SELF_SIGNED_CERT_IN_CHAIN'
}

After making this post, i did the change from https/2 to http/1.1 and restarted everything and it worked well for this case, will let it opened just in case someone is struggling with the same problem and google should index.

2 Likes