Installing a valid certificate

To avoid the security warning which displays when accessing an instance, you must install a trusted certificate. Follow one of the methods below whether you already own a certificate or not.

You have no certificate

If you do not have any certificates, we developed a service that generates a certificate from Let's encrypt servers and installs it directly in the instance.

On AWS

  1. From Network & Security/Elastic IPs , create an Elastic IP address by clicking Allocate new address. This ensures that the IP address will not change.
  2. Set up your domain name according to the Elastic IP address.
  3. Make sure that the security groups configured on your instance allow 80 and 443 port connection from all IP addresses.
  4. From the Elastic IPs tab, associate your instance with the Elastic IP address:
    • Click Actions > Associate address.
    • In the Instance field, select your instance and click Associate.
  5. From the Instances tab, modify the user data of the instance:
    • Click Actions > Instance Settings > View/Change User Data.
    • Add:
      { "user_dns" : "your.domain.name" }, or
      { "user_dns" : "your.domain.name1,your.domain.name2" } for multiple domain names.
  6. Start the instance.

You can now access your server using its domain name from your web browser.

To clear previous settings or generate a new certificate, you must run the following commands using ADB:

adb shell am startservice -a genymotionacme.clear -n com.genymobile.genymotionacme/.AcmeService

adb shell am startservice -a genymotionacme.generate -n com.genymobile.genymotionacme/.AcmeService

On GCP

  1. From Compute Engine > VM instances , select an instance.
  2. Click Edit.
  3. Click Network interface > External IP > Create IP address.
  4. Enter a name for the new static IP address. The name must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
  5. (Optional) Enter a description.
  6. Click Reserve and Done.
  7. Modify the user data of the instance: in Custom metadata, click Add item.
  8. In Key, enter "user_dns".
  9. In Value, enter "your.domain.name" or "your.domain.name1,your.domain.name2" for multiple domain names.
  10. Click Save.

You can now access your server using its domain name from your web browser.

To clear previous settings or generate a new certificate, you must run the following commands using ADB:

adb shell am startservice -a genymotionacme.clear -n com.genymobile.genymotionacme/.AcmeService

adb shell am startservice -a genymotionacme.generate -n com.genymobile.genymotionacme/.AcmeService

On Alibaba Cloud

  1. From Console > Products > Networking , select Elastic IP Address.
  2. Click Create EIP and follow the steps, then click Console and go back to Elastic IP Addresses.
  3. Click Bind and in Instance Type select ECS Instance then select your instance.
  4. From Products > Elastic Computing select Elastic Compute Service.
  5. From Instances, in your instance, in the Actions section, select More > Instance Settings > Select User Data.
  6. Add:
    { "user_dns" : "your.domain.name" }, or
    { "user_dns" : "your.domain.name1,your.domain.name2" } for multiple domain names.
  7. Start the instance.

You already have a certificate

To install your own SSL certificate, please refer to this repository: github.com/Genymobile/genymotion-cloud-ssl-tool