EldoS | Feel safer!

Software components for data protection, secure storage and transfer

help!~help!~~~about CRL

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#3316
Posted: 07/08/2007 04:55:41
by dane dai (Basic support level)
Joined: 07/07/2007
Posts: 9

Sorry about my English.
I want to add a Certificate to CRL,but can't save,when I save the file is 0 KB,why? thanks!~~~
I used VS2005+C#+ASP.NET.
[code]
CRL = new TElCertificateRevocationList();
FileStream fs = new FileStream(Server.MapPath("netcat.crl"), FileMode.Open);
this.CRL.LoadFromStream(fs, 0);
fs.Close();

CRL.Add(Cert);

TElX509Certificate cacert = new TElX509Certificate(null);
FileStream FS_cacer = File.OpenRead(Server.MapPath("Root_CA.cer"));
cacert.LoadFromStream(FS_cacer, 0);
FS_cacer.Close();

FileStream fs_crl= new FileStream(@"E:\DanePenson\Cert\netcat1.crl", FileMode.CreateNew);
int intD= CRL.SaveToStream(fs_crl, cacert);
fs_crl.Close();

I couldn't find what i'm doing wrong ... if somebody could help me ?
If I want to Add a Certificate to the CRL,what i should do??
#3317
Posted: 07/08/2007 05:10:10
by Eugene Mayevski (EldoS Corp.)

First of all you must check the error codes.


Sincerely yours
Eugene Mayevski
#3318
Posted: 07/08/2007 05:19:02
by dane dai (Basic support level)
Joined: 07/07/2007
Posts: 9

no return error codes
when i run the item no errors
#3319
Posted: 07/08/2007 05:39:35
by Eugene Mayevski (EldoS Corp.)

Its possible that you have not set the license key ...


Sincerely yours
Eugene Mayevski
#3320
Posted: 07/08/2007 07:35:05
by dane dai (Basic support level)
Joined: 07/07/2007
Posts: 9

I used the license key is in the CertDemo's
The Key is invalidity?
#3322
Posted: 07/08/2007 15:18:30
by Ken Ivanov (EldoS Corp.)

1) You are loading certificate without a corresponding private key. You cannot sign and save the request if no private key is available. However, SB_CRL_ERROR_PRIVATE_KEY_NOT_FOUND error must have been returned in this case.
2) Is the original CRL loaded correcly? Please check the error code.
#7534
Posted: 09/06/2008 06:10:07
by reza Goki (Standard support level)
Joined: 02/25/2008
Posts: 30

hi, i have the same problem, please help me too. i got this error code 8715(The certificate utilizes unsupported public key algorithm.)
how can i fix this problem, plz help me. i`m at force
#7535
Posted: 09/06/2008 06:13:42
by reza Goki (Standard support level)
Joined: 02/25/2008
Posts: 30

my ca certificate algorithm is <<sha1 with rsa >>. is secure blackbox support this algorithm for sign crl? tank you
#7538
Posted: 09/08/2008 01:04:13
by Ken Ivanov (EldoS Corp.)

1) Please check if your certificate contains the private key. You will be unable to sign the CRL without having a private key. If you do have it, please post the public part of your certificate to the Helpdesk for investigation.

2) Please attach your license ticket to your site account to get the Standard support level which will allow you to get help faster.
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 3077 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!