Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Certificate Documentation #724

Closed
wants to merge 2 commits into from
Closed

Conversation

baversjo
Copy link
Contributor

There's a new emp command for uploading ssl certificates, update docs to cover this method instead.

Update documentation to cover new method for uploading certificates.
@baversjo baversjo changed the title Certificate Documentation SSL Certificate Documentation Jan 11, 2016

```console
$ emp certs-attach arn:aws:iam::<accountId>:server-certificate/myServerCertificate -a <app>
emp ssl-cert-add -a <app> cert.pem cert.key
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually the old method :). Empire no longer supports cert uploads. See #701 for background.

We may re-introduce a command to upload certificates, but it would probably be per account instead of per app like it was before.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok! Should we update the command list printed when running emp without any arguments? These methods are currently listed:

   ssl                show ssl endpoint info
   ssl-cert-add       add a new ssl cert
   ssl-cert-rollback  add a new ssl cert
   ssl-destroy        destroy ssl endpoint

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Good catch. These are supposed to be hidden, but it looks like they were still getting output from the usage. Opened a pr to fix that: #726

Thanks for the heads up!

@ejholmes ejholmes closed this Jan 11, 2016
@shidenkai0
Copy link

Hey guys,
I successfully deployed an empire cluster using stacker, and deployed my first app, however I can't seem to find a way to add a new certificate to my app.

emp cert-attach -a APP_NAME CERT_NAME

This outputs the following:

error: Unexpected error: 404 Not Found.

My current empire version is 0.9.2 and the old ssl commands seems not to be available anymore.

Sincerely,

@ejholmes
Copy link
Contributor

Hey @hajimenomomo. This is happening because you're using a 0.9.3 client against a 0.9.2 daemon. Couple of things you can do:

  1. Wait for Release 0.9.3 #727 to be merged and use 0.9.3 for daemon and client.
  2. Use the docker image remind101/empire:f20a2f6d43b4b940e58dd84219ac5b6573546188, which is basically everything that's going into 0.9.3.
  3. Downgrade to a 0.9.2 client which includes the ssl commands.

@ejholmes ejholmes mentioned this pull request Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants