# "Error: No identity certificate found in ASP.NET Core application"

**URL:** <https://community.bitwarden.com/t/error-no-identity-certificate-found-in-asp-net-core-application/90452>\
**Category:** Password Manager\
**Tags:** app:bwdc, os:linux, server:default-cloud\
**Created:** [October 30, 2025, 12:08pm UTC](https://community.bitwarden.com/t/error-no-identity-certificate-found-in-asp-net-core-application/90452 "2025-10-30T12:08:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user202](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/user202/32/43117_2.png) [@user202](https://community.bitwarden.com/u/user202)\
**Post date:** [October 30, 2025, 12:08pm UTC](https://community.bitwarden.com/t/error-no-identity-certificate-found-in-asp-net-core-application/90452/1 "2025-10-30T12:08:57Z")

</div>

Hi everyone,  
I’m facing an issue with my ASP(.)NET Core application. I’m trying to configure IdentityServer for authentication, but I keep getting the following error:

Unhandled exception. System.Exception: No identity certificate to use.  
at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.AddIdentityServerCertificate in /home/user/project/src/SharedWeb/Utilities/ServiceCollectionExtensions.cs:line 502

### What I’ve tried:

- Checked the certificate path in my `appsettings.json` file.

- Verified that the certificate exists at `/home/user/certs/mycert.pfx`.

- Tried to generate a new certificate using `openssl` but the issue persists.

**Environment** :

- OS: Ubuntu 20.04

- .NET version: 8.0

- IdentityServer version: 5.0

Any suggestions would be appreciated!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex001/uploads/bitwarden1/original/1X/681d35175c3ce2ae5f010fa0bb448862f79a2399.png) [@system](https://community.bitwarden.com/u/system)\
**Post date:** [April 28, 2026, 12:23pm UTC](https://community.bitwarden.com/t/error-no-identity-certificate-found-in-asp-net-core-application/90452/3 "2026-04-28T12:23:11Z")

</div>

Closed on April 28, 2026, 12:23pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
