| 15 | |
| 16 | |
| 17 | '''Credentials:''' |
| 18 | 1. Open browser in VM and goto: |
| 19 | https://panther.gpolab.bbn.com/ |
| 20 | 2. Log in using your UMass OIT credentials. |
| 21 | 3. When you are logged in, select “Profiles” from the top, right menu. |
| 22 | 4. Next, click on “Generate SSH keypair” and enter your passphrase. Make sure |
| 23 | you remember that passphrase. |
| 24 | 5. On the next page click on “Download Private Key” and save key to ~/.ssh locally. |
| 25 | 6. In the browser, still on the same page under “My Stuff, Configure Omni” click on the link “create an SSL certificate”. |
| 26 | 7. Download the certificate to ~/.ssl locally. |
| 27 | 8. Make sure the files that hold your secret keys are adequately protected. To |
| 28 | make sure that’s the case you can execute the following commands: |
| 29 | {{{ |
| 30 | chmod 0600 .ssh/id_geni_ssh_rsa |
| 31 | chmod 0600 .ssl/geni-mzink.pem |
| 32 | }}} |
| 33 | (remember that your .pem file is named |
| 34 | differently) |
| 35 | 9. Generate a you public ssh key by executing the following command: |
| 36 | {{{ |
| 37 | ssh-keygen -y -f .ssh/id_geni_ssh_rsa > .ssh/id_geni_ssh_rsa.pub |
| 38 | }}} |
| 39 | 10. Open a terminal and execute the following command: |
| 40 | {{{ |
| 41 | curl http://emmy9.casa.umass.edu/create_jks.py -o create_jks.py |
| 42 | }}} |
| 43 | 11. Change it’s access rights by executing: chmod a+x create_jks.py |
| 44 | 12. Execute command: |
| 45 | {{{ |
| 46 | python create_jks.py -c ~/.ssl/geni-mzink.pem -s ~/.ssl/mzink.jks -k ~/.ssl/geni-mzink.pem |
| 47 | }}} |
| 48 | Note: {{{~/.ssl/geni-mzink.pem}}} should be replace by the path to your pem file and {{{~/.ssl/geni-mzink.pem}}} should be replaced by the name under which you would like to store your jks file. |
| 49 | 13. Edit the 3 last lines in the .flukes.properties file: |
| 50 | {{{ |
| 51 | user.keystore=/home/geni/.ssl/mzink.jks ssh.key=/home/geni/.ssh/id_geni_ssh_rsa ssh.pubkey=/home/geni/.ssh/id_geni_ssh_rsa.pub |
| 52 | }}} |
| 53 | by typing |
| 54 | {{{ |
| 55 | nano .flukes.properties |
| 56 | }}} |
| 57 | Note: Make sure the paths to your jave keystore and the files hold cert and private key are co rrect! |
| 58 | Now execute the following command do download the topology description for our virtual network: |
| 59 | {{{ |
| 60 | curl http://emmy9.casa.umass.edu/gec14.rdf -o gec14.rdf |
| 61 | }}} |