Forum Discussion
Fuchan_Tan_3092
Mar 28, 2012Nimbostratus
Thank you for the input.
Here is what I did
/* both /config/ssl/ssl.key/miketan999.key and /config/ssl/ssl.crt/miketan999.crt are in place */
iControl.LocalLBProfileString [] keys = new iControl.LocalLBProfileString[1];
keys[0]=new iControl.LocalLBProfileString();
keys[0].setValue("miketan999.key");
iControl.LocalLBProfileString [] certs = new iControl.LocalLBProfileString[1];
certs[0]=new iControl.LocalLBProfileString();
certs[0].setValue("miketan999.crt");
i_interfaces.getLocalLBProfileClientSSL().create(profile_names, keys, certs);
But i am getting the following error -
AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: Exception caught in LocalLB::urn:iControl:LocalLB/ProfileClientSSL::create() Exception: Common::OperationFailed primary_error_code : 17236755 (0x01070313) secondary_error_code : 0 error_string : 01070313:3: Error reading key PEM file /config/ssl/ssl.key/miketan999.key for profile miketan999_clientssl_profile: error:0906A068:PEM routines:PEM_do_header:bad password read faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Exception caught in LocalLB::urn:iControl:LocalLB/ProfileClientSSL::create() Exception: Common::OperationFailed primary_error_code : 17236755 (0x01070313) secondary_error_code : 0 error_string : 01070313:3: Error reading key PEM file /config/ssl/ssl.key/miketan999.key for profile miketan999_clientssl_profile: error:0906A068:PEM routines:PEM_do_header:bad password read
I do have the passphrase for the cert, but do not know where to put it in before calling the i_interfaces.getLocalLBProfileClientSSL().create(profile_names, keys, certs);
Any thoughts? Please refer to the question titled as 'PEM routines:PEM_do_header:bad password read' that I have posted earlier.
Thanks,
Mike Tan