Forum Discussion
Aaron_McMahon_2
Nimbostratus
Jun 07, 2006Problems adding SSL certs through iControl
I'm uploading an SSL certificate and a key separately using the "upload_file()" command. That works fine.
But when I use "certificate_import_from_file()", I get a faultcode response from the server with this error_string:
PEM routines:PEM_read_bio:no start line
The primary_error_code is -7.
This same error occurs on both the .crt and .key files (the latter uses the key_import_from_file(), of course). At first, I had been base64 encoding the files until I opened them in a text editor and noticed they already were base64 encoded. So I tried sending them straight through without encoding during the upload process, then running the import commands. Exact same error.
Any ideas?
Thanks...
- Aaron
- Are your certificates in PEM format?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects