Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cockpit Authentication Failed After Installation #326

Closed Unanswered
bannert1337 asked this question in Q&A
Discussion options

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

When attempting to log in to Cockpit after installation using the Proxmox VE script, authentication fails and returns to the login screen. The console shows a 401 Authentication Failed error.

Environment:

  • Proxmox VE 8.2.8
  • Debian 12 Bookworm
  • Cockpit version: 287.1-0+deb12u3
  • Browser: Floorp Version 11.20.0 (64-bit) | Firefox: 128.5.0

Steps to reproduce:

  1. Install Cockpit using the Proxmox VE script
  2. Navigate to https://[IP]:9090
  3. Enter root credentials
  4. Login attempt fails and returns to login screen

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

Error message from browser console:

cockpit-certificate-ensure[3927]: /usr/lib/cockpit/cockpit-certificate-helper: line 25: sscg: command not found
cockpit-tls[3933]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.

Please provide detailed steps to reproduce the issue.

journalctl -u cockpit shows:
cockpit-tls[3933]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.

You must be logged in to vote

Replies: 3 comments 1 reply

Comment options

Works fine here, did you set a root password?
image
image

You must be logged in to vote
1 reply
Comment options

I'm completely new to proxmox helper scripts- I had the exact same error and this fixed it for me. I didn't realize that I was supposed to run sudo passwd root in the cockpit lxc console, not in the higher level proxmox console 😅

Comment options

I tried both using the script with Advanced and setting a root password and also the default with root password set after creation. None did work. I also tried privileged and unprivileged LXC.

You must be logged in to vote
0 replies
Comment options

Maybe a DNS problem? Tested both default and advanced here also, no problem

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
not a script issue This is not a script issue
Converted from issue

This discussion was converted from issue #311 on November 18, 2024 06:47.

AltStyle によって変換されたページ (->オリジナル) /