Skip to content
Ioannis Charalampidis edited this page Apr 27, 2015 · 1 revision

For security purposes it's restricted to use CernVM WebAPI in any domain. In order to use CernVM WebAPI in your own domain, you will need to whitelist it first.

To whitelist your domain you will need to create an RSA key pair and send the public key along with the domain name and the use case to CernVM WebAPI Support (cernvm-webapi-support [at] cern.ch).

Creating a keypair

To create an RSA key pair you can use the following commands:

openssl genrsa -out private.pem 2048
openssl rsa -pubout -in private.pem -out public.der -outform DER

Copy the contents of the public.der in base64 encoding, and include them in your request, like so:

base64 public.der

Writing to CernVM WebAPI Support

You must provide the following information in your e-mail:

  • Domain: (the domain name for which to grant access)
  • Use: (what's the intended use of CernVM WebAPI)
  • Public key: (base64-encoded contents of public.der)