Hello François,
Greetings! Thanks for raising this question in Q&A forum.
This issue is most likely happening because Azure Key Vault does not fully support custom X.500 subject attributes like “OI” (OID 2.5.4.97) in the CSR subject field. That’s why both formats you tried are failing during CSR generation.
To resolve this, you can follow these workable options:
Try using only standard supported subject fields Azure Key Vault CSR generation supports common attributes like CN, O, OU, L, S, and C. Remove the OI / 2.5.4.97 field and confirm CSR generation works first.
If eIDAS requires Organization Identifier (OID 2.5.4.97) Generate the CSR outside Azure Key Vault using tools like OpenSSL where custom OIDs are allowed. Then:
- Validate certificate policy limits Key Vault uses a predefined certificate policy model and does not allow arbitrary RDN/OID extensions in subject DN, which is a current platform limitation.
At this point, there is no direct way to include OI (2.5.4.97) in CSR generated from Key Vault itself, so this limitation would require either:
- Using an external CSR generation process, or
- Raising a feature request with Microsoft if this is critical for your use case.
Next action: You (customer) will need to switch to external CSR generation or submit a feature request, as this is a product limitation rather than a configuration issue.
If this answer helps you kindly accept the answer which will help others who have similar questions
Best Regards,
Jerald Felix.