Skip to content

Instantly share code, notes, and snippets.

@laem
Last active August 29, 2015 14:18
Show Gist options
  • Save laem/274f6a0ee9efadec7e94 to your computer and use it in GitHub Desktop.
Save laem/274f6a0ee9efadec7e94 to your computer and use it in GitHub Desktop.

sudo docker exec -i -t RUNNING_DOCKER_NAME bash

sudo openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/cozy/server.key -out /etc/cozy/server.crt -days 365 -subj '/CN=DOMAIN_NAME'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment