Re: [OpenXPKI-users] SSL

2024-04-17 Thread Ali Danakiran
Thank you, but I have found my mistake

Another question

Is there a possibility under "realm/democa/profile/default" to select the
validity between 1 year and 6 months. So that the user himself chooses
whether he wants to have 1 year or 6 months validity.


James B. Byrne via OpenXPKI-users 
schrieb am Di. 16. Apr. 2024 um 16:17:

> On Mon, April 15, 2024 15:02, Ali Danakiran wrote:
> > Hey, I have changed the IP address and hostname of my Openxpki server
> and I
> > have renewed the SSL certificate to the new IP. Now I have the following
> > problem when I call up my Openxpki via DNS the page is displayed Https
> > encrypted but when I call up the page via the IP address it shows me
> > unencrypted. What could be the problem? I hope I could explain it.
>
> What rewrite statements are in your virtual website configuration?
>
>
>
> --
> ***  e-Mail is NOT a SECURE channel  ***
> Do NOT transmit sensitive data via e-Mail
>Unencrypted messages have no legal claim to privacy
>  Do NOT open attachments nor follow links sent by e-Mail
>
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
>
>
>
> ___
> OpenXPKI-users mailing list
> OpenXPKI-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users


Re: [OpenXPKI-users] How is an OpenXPKI generated private key exported?

2024-04-17 Thread James B. Byrne via OpenXPKI-users
On Wed, April 17, 2024 05:29, Martin Bartosch wrote:
> James,
>
>> My question was imprecise. I had in mind a batch/cli type solution. After
>> further research this is what I am attempting to use.
>
>> openxpkicli --realm=hll_ca2016 get_private_key_for_cert \
>> --param identifier='Lik1K_AGi-RDqOiNxjmptAh-4-w' \
>> --param password='F990NCtO' \
>> --param passout='' \
>> --param nopassword=TRUE \
>> --param format=PKCS8_PEM
>> Error: Error while executing API command
>>Attribute (identifier) is required
>
> Retry using --arg instead of --param.
>
> Cheers
>
> Martin
>
>

Thank you.




-- 
***  e-Mail is NOT a SECURE channel  ***
Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3



___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users


Re: [OpenXPKI-users] How is an OpenXPKI generated private key exported?

2024-04-17 Thread Martin Bartosch via OpenXPKI-users
James,

> My question was imprecise. I had in mind a batch/cli type solution. After
> further research this is what I am attempting to use.

> openxpkicli --realm=hll_ca2016 get_private_key_for_cert \
> --param identifier='Lik1K_AGi-RDqOiNxjmptAh-4-w' \
> --param password='F990NCtO' \
> --param passout='' \
> --param nopassword=TRUE \
> --param format=PKCS8_PEM
> Error: Error while executing API command
>Attribute (identifier) is required

Retry using --arg instead of --param.

Cheers

Martin



___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users