GPG error: The following signatures were invalid: KEYEXPIRED

KB ID: 4150
Product: Veeam PN | 2.0 | 2.1
Veeam Backup for AWS | 1.0 | 2.0
Veeam Backup for Microsoft Azure | 1.0
Veeam Backup for Nutanix AHV | Veeam Availability for Nutanix AHV 1.0 | 2.0
Published: 2021-04-21
Last Modified: 2021-04-28
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

For the products of specific versions shown on this KB article when checking for updates or running 'apt-get update' from the terminal the task fails displaying the following error:
guierror
Example from Veeam Backup for Nutanix AHV 2.0 Web Console
The following is the error seen if running apt-get update from the terminal.
W: GPG error: https://repository.veeam.com/vbahv/1/public/updater stable InRelease: The following signatures were invalid: KEYEXPIRED 1525607146  KEYEXPIRED 1618576417  KEYEXPIRED 1618576417  KEYEXPIRED 1525607146  KEYEXPIRED 1618576417  KEYEXPIRED 1525607146  KEYEXPIRED 1618576417
W: The repository 'https://repository.veeam.com/vbahv/1/public/updater stable InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Cause

This occurs because the existing repository key for versions of products related to this article expired on April 16, 2021 (2021-04-16). Newer versions of the listed products are able to update the repository key automatically. For older versions, such as those listed on this article, users must manually remove the expired key and install the updated key.

Veeam Backup for Nutanix AHV 1.0
Nutanix Mine 1.0

SSH Disabled by Default

SSH is disabled on Veeam Availability for Nutanix AHV by default, and as such access to the appliance must be performed via a Console as documented below.

For more information about enabling SSH please see the Security Considerations section of the userguide.

  1. Log in to the shell of the appliance machine.
    1. Log into Prism Element
    2. Navigate to VMs
    3. Select the Veeam proxy appliance
    4. Click 'Launch Console'
    5. At the login prompt, the credentials will be veeam/veeam
  2. Run the following commands to remove the expired repository key and download a new key file
sudo rm /etc/apt/trusted.gpg.d/veeam.gpg
sudo wget https://repository.veeam.com/keys/veeam.gpg -O /etc/apt/trusted.gpg.d/veeam.gpg
The parameter (-O) shown in the wget command above must be an uppercase letter 'O'.
  1. Check for updates while in the terminal.
sudo apt-get update
If the update completes without error, the key was updated successfully.

Veeam Backup for Nutanix AHV 2.0
Nutanix Mine 2.0

SSH Disabled by Default

SSH is disabled on Veeam Availability for Nutanix AHV by default, and as such access to the appliance must be performed via a Console as documented below.

For more information about enabling SSH please see the Enabling SSH section of the userguide.

  1. Log in to the shell of the appliance machine.
    1. Log into Prism Element
    2. Navigate to VMs
    3. Select the Veeam proxy appliance
    4. Click 'Launch Console'
    5. At the login prompt, use the same credentials you use for the WebUI of the proxy appliance
  2. Run the following commands to remove the expired repository key and download a new key file
sudo rm /etc/apt/trusted.gpg.d/veeam.gpg
sudo wget https://repository.veeam.com/keys/veeam.gpg -O /etc/apt/trusted.gpg.d/veeam.gpg
The parameter (-O) shown in the wget command above must be an uppercase letter 'O'.
  1. Check for updates while in the terminal.
sudo apt-get update
If the update completes without error, the key was updated successfully.

Veeam Backup for AWS 1.0,2.0, Veeam Backup for Azure 1.0, Veeam PN

  1. Log in to the shell of the appliance machine.
  2. Run the following commands to remove the expired repository key and add a new one
sudo apt-key --keyring /etc/apt/trusted.gpg del FBF8A590
sudo wget https://repository.veeam.com/keys/veeam.gpg -O /etc/apt/trusted.gpg.d/veeam.gpg
The parameter (-O) shown in the wget command above must be an uppercase letter 'O'.
  1. Update the package list of the apt-get tool.
sudo apt-get update
If the update completes without error, the key was updated successfully.

More information

If after updating the repository key the 'apt-get update' command still displays errors, please open a support case.
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.