Fixed newline bug for generating unis-proxy.pem
Moved proxy cert generation out of for-loops