TS:612 Use pem_password_cb, check OpenSSL version, remove ink_process references, eliminate unnecessary temporary buffers