3

I am setting up a private network on a local machine. I have stellar-core, horizon and bridge server running. While setting up compliance server, it needs access to domain’s stellar.toml. This file has to be hosted https://domain/.well-known/stellar.toml.

In local test environment I do not have access to https / 443 server. Is it possible via some configuration, stellar.toml can be hosted on a http port

e.g. http://my.localhost/~Harmit/one/.well-known/stellar.toml (For Node set 1) http://my.localhost/~Harmit/two/.well-known/stellar.toml (For Node set 2)

Thanks for all the help and support

3

As far as I know, all wallets and other clients search for stellar.toml using the HTTPS scheme, so HTTP setup just won't work. You can try to issue a self-signed SSL certificate for your test domain.

In case if you have dedicated API and own some domain (say, mypersonaldomain.com), there is an easier way to achieve your goals. Using https://certbot.eff.org/ you can generate a valid SSL certificate issued by Let'sEncrypt absolutely free of charge.

| improve this answer | |
  • 2
    Thanks for the response. I checked the compliance code there is a variable UseHTTP that can be set to use http for debugging purpose. I am not a Go Programming Language expert. I will try and figure out a way to set the value or hardcode and re-compile for local testing. I need to have multiple nodes configured and have few use cases to execute. – Harmit Mar 19 '18 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.