Skip to content

Agent doesn't work without certificate, doesn't seem to print an error either #198

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

Closed
hannobraun opened this issue Jan 23, 2018 · 1 comment

Comments

@hannobraun
Copy link
Contributor

After compiling arduino-create-agent and running it manually, everything seems to work at first, but the Arduino Create Editor can't connect. As far as I can tell, the problem seems to be that the certificate files are missing, and the agent doesn't open an HTTPS port without them.

I had installed arduino-create-agent using the installer previously. I got my compiled version to work by copying the following files from the install directory to the directory where my compiled agent executable was:

  • cert.cer
  • cert.pem
  • key.pem

I don't know if my workaround is the correct way to handle this, but it would be great if

  1. the correct way to handle this would be documented in the README and
  2. if the agent failed in an obvious way when the certificate is missing.
@hannobraun
Copy link
Contributor Author

Closing as duplicate of #78.

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

No branches or pull requests

1 participant