Forum Discussion
Faintly_Lucky
Jun 05, 2013Nimbostratus
M,
I'm not one of the Devs, but I've done a bit of work in the KeyCertificate interface and will help if I can. What language are you writing in and what version are you testing this on? Can you please post your code so that I can see it?
Without seeing your code, I can only make a guess, but it sounds like you might be giving file names when what the interface is looking for is IDs. I've run into that a lot with the KeyCert interface. Whereas the file name might be www.example.com.crt or www.example.com.key, the ID will be www.example.com. The parameter descriptions seem to support that. Whereas I don't think that this would work (I use Perl):
$soapresponse = $certkey->import_from_archive_stream(
SOAP::Data->name (mode => MANAGEMENT_MODE_DEFAULT ),
SOAP::Data->name (archive_stream => [blah.tgz] ),
SOAP::Data->name (keys => [www.example.com.key] ),
SOAP::Data->name (certs => [www.example.com.crt]),
);
I think that this WOULD work:
$soapresponse = $certkey->import_from_archive_stream(
SOAP::Data->name (mode => MANAGEMENT_MODE_DEFAULT ),
SOAP::Data->name (archive_stream => [blah.tgz] ),
SOAP::Data->name (keys => [www.example.com] ),
SOAP::Data->name (certs => [www.example.com]),
);
Hope that this is the answer, but if it's not, we'll just keep working until we get it figured out.
Chris