microsoft / microsoft/AzureTRE

Certificate service renewal fails with error.

Open
#4,166 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
235
Forks
192
Avg merge
1d 23h
Merged PRs (30d)
13

Description

I'm trying to renew the certificate for Nexus, using the custom renew action of the certificate service. This fails with an error:

Error message: ERROR: The request may be blocked by network rules of storage account. Please check network rule set using 'az storage account
show -n accountname --query networkRuleSet'. If you want to change the default action to apply when no rule matches, please use 'az storage
account update'. ERROR: The request may be blocked by network rules of storage account. Please check network rule set using 'az storage account
show -n accountname --query networkRuleSet'. If you want to change the default action to apply when no rule matches, please use 'az storage
account update'. error running command /cnab/app /bin/bash ./scripts/letsencrypt.sh --application_gateway_name ******* --cert_name nexus-ssl
--fqdn ******* --keyvault_name ******* --resource_group_name ******* --storage_account_name *******: exit status 1 Error: error running command
/cnab/app /bin/bash ./scripts/letsencrypt.sh --application_gateway_name ******* --cert_name nexus-ssl --fqdn ******* --keyvault_name *******
--resource_group_name ******* --storage_account_name *******: exit status 1

Steps to reproduce

  1. Go to the UI, find the certificate shared service, -> Actions -> renew

Azure TRE release version (e.g. v0.14.0 or main):
We're about 2 months behind the HEAD at the moment.

Deployed Azure TRE components - click the (i) in the UI:
UI Version: 0.5.27
API Version: 0.18.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the certificate service's custom renew action in the UI and the referenced scripts/letsencrypt.sh command. Investigate the Azure storage account networkRuleSet error and compare the deployed UI/API versions with the current release. Done means the renewal action completes successfully without the storage network-rules error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, bash
Domain
cloud, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.