I have a problem with a more complex client authentication in VuGen. There are 2 servers (A and B) which are both involved in the process. For the first server A a client certificate is required, which is set via web_set_certificate_ex. The second server B does not require a certificate login, but VuGen seems to offer this itself as soon as it has been set for server A beforehand. However, this does not work because the certificate is not known to server B. The following error occurs:
ssl_handle_status encounter error : SSL_ERROR_SSL, error message : error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca
The question is, is there any way to unload the certificate or clear the OpenSSL cache? Unfortunately, this does not work via a second iteration.