What acs version are you using? I believe there was a problem with double encoding in some older releases.
Maybe someone else can weigh in who knows for sure. On Sep 5, 2016 10:27 AM, "Patrick W." <war...@hotmail.com> wrote: > Has someone managed to upload a certificate, its chain and its key in a > single call, using the uploadsslcert API command? > > I've done attempts with cloudmonkey, in python, etc. tried all possible > formatting and encoding combinations but I always get errors > > - Expected X509 certificate. Failed due to String index out of range: > - Error parsing certificate data Invalid certificate format. Expected X509 > certificate > - Error parsing certificate data Invalid Certificate format. Failed due to > problem parsing cert: java.security.cert.CertificateException: > java.io.IOException: corrupted stream - out of bounds length found > > Has anybody succeeded with this? if yes, I'd be interested to reuse the > exact same approach. > > thanks! >