Skip to content

Unable to delete hosted zones - DNSSEC signing disabled, CMK deleted

0

Hi all,

I have tried the following steps to delete the hosted zone, but I was still getting “HostedZoneNotEmpty 400: The specific hosted zone contains DNSSEC key signing keys and so cannot be deleted”.

  1. Disabled DNSSEC signing in Route 53.
  2. Deleted the CMK in the key management service after waited 7 days.

**Please could anyone advise what to do next? **

The CMK has disappeared from key management service, but it is still showing as Active under DNSSEC signing. But when click on view details for the key, I had Error occurred under “customer managed CMK details”.

Enter image description here

Enter image description here

Enter image description here

1 Answer
0
Accepted Answer

Delete a key-signing key (KSK)

Before you can delete a KSK, you must edit the KSK to set its status to Inactive.

One reason that you might delete a KSK is as part of routine key rotation. It's a best practice to rotate cryptographic keys periodically. Your organization might have standard guidance for how often to rotate keys.

Follow these steps to delete a KSK in the AWS Management Console.

To delete a KSK

  1. Sign in to the AWS Management Console and open the Route 53 console at https://console.aws.amazon.com/route53/.
  2. In the navigation pane, choose Hosted zones, and then choose a hosted zone.
  3. On the DNSSEC signing tab, under Key-signing keys (KSKs), choose Switch to advanced view, and then under Actions, choose Delete KSK
  4. Follow the guidance to confirm deleting the KSK.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-configuring-dnssec-ksk.html#dns-configuring-dnssec-ksk-delete-ksk

EXPERT
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.