Re: OpenVPN service account & Windows compute Certificate Store

Gert Doering <[email protected]> Wed, 10 Sep 2025 22:37:58 +0200
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
Hi,

On Wed, Sep 10, 2025 at 06:08:34PM +0200, Louis Chanouha via Openvpn-users wrote:
> The new limited service account does'nt have access to the Windows
> certificate store

Reports like this really should go to the issue tracker, or the openvpn-devel
list.

> 2025-09-10 17:59:04 Error in cryptoapicert: failed to acquire key. Key not
> present or is in a legacy token not supported by Windows CNG API: Le jeu de
> clés n???existe pas.   (errno=-2146893802)
> 2025-09-10 17:59:04 Cannot load certificate "TMPL:[redacted]" from Microsoft
> Certificate Store
> 2025-09-10 17:59:04 Exiting due to fatal error

Well - this is somewhat expected.  If you don't operate with maximum
privileges anymore, things that need privileges might break.

[..]
> Hope they will be a fix to preserve theses environnements.

We can not auto-fix this (except by reading all configs and changing
all your key permissions from within the installer, which we're not
going to do).

What we can, and need to do, is point this out very clearly in the
release notes.

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJoweGmAAoJEB2Cnv7KVigS578L+wez3nu6nOtUoQ5FBxGR7CYG
AKgpzkcHO9utQoG4dIPsFxmNczsqpYqmdeCXLFNeqnopkqjBvoQry6oQdt85FYII
WLdsJCmMBQOoV9Dg4jaKOUXzaAfpJA0rMJIvjaz7n7rLg9Y7FdHHmJrKIAynUnKn
2u6wMD+480bqTmO8OgvdfNSB+ZKNk/1Cf+3xKsvNkpugp6GaYKHhdN4QQmrmfRrU
KnPogpeovWCUQq0zLrHbtCG3KSd+snI5esfmhVXtWk80GV1odu2Yehll1Cs3dl0w
3PTr7Kt+txL4h86vO+QcmzMSZz8YKwX7tITxdRD91de8Hg70esNrXMjdka1YdFuO
ge4PN8easEMzBAktjtFeCrHDFvkR8Bkmh4Y7SgBHp4asLGViSgWg9qGSCYFE6FhZ
GD2uZ78fsnmAVeVekyKUhAImnhho22K1WSR9e/YN/9pkki3VCg9XuiBbh/bVwbxz
XHe+4V1NelA3CoKqRkFhJy5uj7NI3d0RRLJC0ghATg==
=Ecxr
-----END PGP SIGNATURE-----