Quantcast
Channel: Symantec Connect - Products - Discussions
Viewing all articles
Browse latest Browse all 216

x509-cert --export-format exports an empty file

$
0
0
I need a solution

Hi Guys,

Apparently, I am able to create a key-pair for PGP command line and we are using 9.5.2

==============================================

PGP Command Line 9.5.2 build 654
Copyright (C) 2005 PGP Corporation
All rights reserved.

==============================================

==============================================

/opt/pgp/bin# ./pgp --list-keys
Warning: PGPsdk running in local mode.
 Alg  Type Size/Type Flags   Key ID     User ID
----- ---- --------- ------- ---------- -------
RSA4 pair 4096/4096 [VI---] 0xE552113D test user

=================================================

I am able to successfully export the correct format using the command below:

=================================================

./pgp --export "test user" --export-format x509-cert --cert 0xE552113D -o "nelson.crt"
Warning: PGPsdk running in local mode.
0xE552113D:export key (0:key exported to nelson.crt)

================================================

 

However, the file is EMPTY:

===================================================

%:/opt/pgp/bin# ls -lrtd nelson.crt
-rw-------    1 root     system           54 Sep 03 15:41 nelson.crt
%:/opt/pgp/bin# ls -lrt nelson.crt
-rw-------    1 root     system           54 Sep 03 15:41 nelson.crt
%:/opt/pgp/bin# more nelson.crt
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
====================================================

Is there anything wrong I did?  Thank you.

 


Viewing all articles
Browse latest Browse all 216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>