Skip to content

[Bug]: error RSA PRIVATE KEY not found from openssl output #5162

Closed
@PhilipJonasFranz

Description

@PhilipJonasFranz

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Firefox
  • Local OS: Windows 10
  • Remote OS: Ubuntu 22.04 LTS Server
  • Remote Architecture: arm64
  • code-server --version: 4.3.0

Steps to Reproduce

  1. Install using installer script
  2. Modify config to:
bind-addr: 0.0.0.0:443
auth: password
password: ...
cert: true
  1. Read logs of service

Expected

code-server should start up normally.

Actual

code-server fails to start-up with error message in logs as seen below.

Logs

May 05 11:25:56 ubuntu code-server[17012]: [2022-05-05T11:25:56.314Z] error RSA PRIVATE KEY not found from openssl output:
May 05 11:25:56 ubuntu code-server[17012]: ---stdout---
May 05 11:25:56 ubuntu code-server[17012]: -----BEGIN PRIVATE KEY-----
May 05 11:25:56 ubuntu code-server[17012]: MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDBtlEnZLssezit
May 05 11:25:56 ubuntu code-server[17012]: ......................
May 05 11:25:56 ubuntu code-server[17012]: 85ApfDxbNKRPXB24sszXjhWI3A==
May 05 11:25:56 ubuntu code-server[17012]: -----END PRIVATE KEY-----
May 05 11:25:56 ubuntu code-server[17012]: ---stderr---
May 05 11:25:56 ubuntu code-server[17012]: code: 0

Screenshot/Video

No response

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

This could be related: https://githubhot.com/repo/Chocobozzz/PeerTube/issues/4901, Ubuntu 22.04 LTS Server was running OpenSSL Version 3.0.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions