Hi, all: I am testing out the CoSign friend XML-RPC integration. I have obtained a server certificate, and used the following code to invoke friend service:
$f=new xmlrpcmsg('doAccountExist',array(new xmlrpcval(array( new xmlrpcval("EMAIL_ADDRESS"), new xmlrpcval("EMAIL_ADDRESS_2")), "array"))); $client=new xmlrpc_client("/friend/acquaintance/index.php"," friend.weblogin.umich.edu", 443); // certificate $client->setCertificate(PEM_FILE_PATH, "PASSWORD"); $client->setSSLVerifyPeer(0); $client->setDebug(1); $result=$client->send($f,0,"https"); Here are the error messages: * About to connect() to friend.weblogin.umich.edu port 443 (#0) * Trying 141.211.144.107... * connected * Connected to friend.weblogin.umich.edu (141.211.144.107) port 443 (#0) * warning: ignoring value of ssl.verifyhost * Unable to load client cert -8018. * NSS error -8018 * Closing connection #0 As for the PEM file, I have tried multiple formats but all withthe same error: (1) certificate only; (2) encrypted private key + certificate; (3) encrypted private key + certificate + chain cert Any suggestions? Thanks, - Zhen
------------------------------------------------------------------------------
_______________________________________________ Cosign-discuss mailing list Cosign-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cosign-discuss