Hi Oliver,

Thanks for your suggestion. It works correctly for me now.

Lixin.

From: Oliver Welter <[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Wednesday, January 25, 2023 at 10:03 PM
To: "[email protected]" 
<[email protected]>
Subject: Re: [OpenXPKI-users] Define 2 policy identifiers in certificate profile


Hi Lixin,

the syntax is correct but you can remove the empty "oid:", it is not required 
in that case.

Oliver
On 25.01.23 20:08, Lixin Liu wrote:

To answer the question myself, this seems to work:



    policy_identifier:

      critical: 0

      oid:

      1.2.3.4.5:

            cps: http://myhost/mycpcps.html



      2.3.4.5.6:

            user_notice: my note



Is this the correct syntax?



Thanks,



Lixin.



On 2023-01-25, 8:35 AM, "Lixin Liu" <[email protected]<mailto:[email protected]> 
<mailto:[email protected]><mailto:[email protected]>> wrote:





Hi,





I am new to OpenXPKI, so this may be a simply question, how do I define 2 
policy identifiers in the profile?





I want to do something like:





policy_identifier:

oid: 1.2.3.4.5

critical: 0

cps:

- http://localhost/my-cp-cps.html





oid: 2.3.4.5.6

critical: 0

user_notice:

- My note





I don't think this is correct. What is the correct syntax to use?





Thank you very much.





Lixin Liu

HPC System Architect

Simon Fraser University













_______________________________________________

OpenXPKI-users mailing list

[email protected]<mailto:[email protected]>
 
<mailto:[email protected]><mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/openxpki-users 
<https://lists.sourceforge.net/lists/listinfo/openxpki-users><https://lists.sourceforge.net/lists/listinfo/openxpki-users>








_______________________________________________

OpenXPKI-users mailing list

[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/openxpki-users

--

Protect your environment -  close windows and adopt a penguin!
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to