Solve the issue by caching the key in the temporary file with unique name. Then search for the key in the directory and match the key against the cert and store them in proxycert.pem file.
Merge branch 'overlap_deleg_solve' of https://github.com/CESNET/gridsite into overlap_deleg_solve