First, let's set up your hosts file on your local computer. This allows you to connect to HUNT Workbench
in your lab using a URL name, for example demolab.lab.hdc.ntnu.no, in your web-browser.
In the search results, right-click Notepad and select Run as administrator.
From Notepad, open the following file: C:\Windows\System32\Drivers\etc\hosts.
Start by selecting File > Open.
Then find the (1.) directory and change Text documents to view (2) All files. When a file named hosts appears in the list (3), select it and click Open (4):
Add your hosts record to the text file. This is the line that you received from us in your HUNT Workbench onboarding email (look for Lab access link).
Select File > Save to save your changes and close the Notepad application.
Open your p12 certificate that you downloaded from FileSender. Make sure the store location is set to Current User and click Next:
Click Next one more time.
Fill in the TLS passphrase that you received on signal, and make sure the options are checked exactly as in the image. Then click Next:
Check the first option: Automatically select the certificate store based on the type of certificate. Click Next:
You should now get a Completing the Certificate Import Wizard message. Click Finish to complete the import:
The wizard will require a confirmation to install a certification from us: HCTS CA 1 (HUNT Cloud Trust Services). Our certificate is required to safely access your workbench environment.
You will normally be asked to confirm our certificate only when you set up the HUNT Workbench for the first time. Thus, if you see LAB instead of HCTS CA 1 skip to step 7.
Before clicking YES, confirm that you see our thumbprint (fingerprint):
ADD9DFEC C998BE44 AC2F254E 75E5EB98 D91879A6
Similar to Step 6, you will also need to install a certificate for your lab (Lab CA), where your Lab name should appear. Click YES.
Now quit your browser and restart it for the certificate to get recognized.
Open your system profile config file that you got from FileSender (<your_user_name>.mobileconfig).
In System settings open section Privacy & Security, scroll to the bottom of the page and select Profiles
Select certificate required for installation.
Click Install when prompted. Then enter the TLS passphrase that you received on Signal and confirm.
Quit your browser and restart it again for the certificate to get recognized.
When you open your HUNT Workbench for the first time you will be asked for your local macOS password. This allows the browser to access your client certificate stored in your local Keychain. After filling in the password, confirm by clicking Always allow / Tillat alltid.
Open your system profile config file that you got from FileSender (<your_user_name>.mobileconfig).
In System Preferences open section Profiles.
NTNU managed MacBook
If your MacBook is managed by NTNU and you do not see section Profiles in your System Preferences you will need to request access to Profile through NTNU Hjelp. If you are not NTNU affiliated, can contact your IT department for assistance.
Click Continue to confirm your profile installation.
Enter the TLS passphrase that you received on Signal and the click Install to confirm.
Quit your browser and restart it again for the certificate to get recognized.
When you open your HUNT Workbench for the first time you will be asked for your local macOS password. This allows the browser to access your client certificate stored in your local Keychain. After filling in the password, confirm by clicking Always allow / Tillat alltid.
In Google Chrome, open the URL chrome://settings/certificates and navigate to section Authorities then click the Import button on the right side of the screen to import hctsca1.crt certificate file. Select first option Trust this certificate for identifying websites.
Within chrome://settings/certificates navigate to section Your certificates and click the Import button on the right side of the screen.
Browse and select your .p12 file that you downloaded to your local computer, and enter the TLS passphrase that we sent you on Signal.
Ensure that the Remember this decision box is checked, and click OK.
Sign in with your HUNT Cloud lab username and lab passphrase. This is the passphrase that you made on your first login.
With a little bit of luck you should now see your new HUNT Workbench. Click around and explore your new world!
Further reading
See our HUNT Workbench principles section to learn more about your new environment. For more practical advises on how to install your Python/R packages head over to Workbench FAQ.
This section includes issues that you might encounter during your first setup. See our HUNT Workbench FAQ and HUNT Workbench Troubleshooting if you do not find your answers below.
A 502 Bad gateway error is an indication that something is wrong with the configuration on the server side. Contact us in your lab channel on Slack or email further investigations.