Working code for creating ras key, csr and posting to server. will be updated soon