uchi_122495
Feb 10, 2015Cirrus
Failed to create LocalLBProfileClientSSL on v11.5.1 via iControl
I am trying to create clientSSL profile on v11.5.1HF7 via iControl Java. I can create it on /Common partition ,but unable to do on the other partition. Please Help.
This code works fine.
String[] profile_names = { "profile_ssl_test" };
/** RSA keypair (/Common/test.key and /Common/test.crt) was created already. */
LocalLBProfileString[] key_names = { new LocalLBProfileString("test.key",false) };
LocalLBProfileString[] crt_names = { new LocalLBProfileString("test.crt",false) };
interfaces.getManagementPartition().set_active_partition("/Common");
interfaces.getLocalLBProfileClientSSL().create_v2(profile_names, key_names, crt_names);
But this one failed with Internal Server Error.
String[] profile_names = { "profile_ssl_test" };
/** RSA keypair (/Test/test.key and /Test/test.crt) was created already. */
LocalLBProfileString[] key_names = { new LocalLBProfileString("/Test/test.key",false) };
LocalLBProfileString[] crt_names = { new LocalLBProfileString("/Test/test.crt",false) };
interfaces.getManagementPartition().set_active_partition("/Test");
interfaces.getLocalLBProfileClientSSL().create_v2(profile_names, key_names, crt_names);
Also, I'm getting following errors
/var/log/httpd/httpd_errors
err httpd[11519]: [error] [client 192.168.29.53] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/www/iControl/iControlPortal.cgi"
warning fcgi-[11492]: [warn] FastCGI: server "/usr/local/www/iControl/iControlPortal.cgi" (pid 18604) terminated due to uncaught signal '11' (Segmentation fault)
warning fcgi-[11492]: [warn] FastCGI: server "/usr/local/www/iControl/iControlPortal.cgi" restarted (pid 19866)
/var/log/kern.log
info kernel: iControlPortal.[18604]: segfault at 4 ip 000000005bb8e893 sp 00000000ff8f8bf8 error 4 in ManagementServer.so[5b971000+446000]
In addition, both codes work fine on v11.4.1
This bug ( ID465142 ) is fixed on v11.5.4
ID 465142
LocalLB::ProfileClientSSL::create and create_v2 methods now work correctly when used in partitions other than /Common.