Sonatype product license keys are shipped in binary form in a file ending with ".lic" extension. A license file is not something you can open, it needs to be installed in one of our products.
Instructions for installing your license via the product's web UI can be found here:
Note that if your organization has purchased both products the licenses may be combined into a single license key.
If the web UI is not available, or you want to automate license installation the instructions for doing so can be found here: