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

Endpoint by SSL, date and time of SMS delivery #59

Closed
djm03 opened this issue Apr 19, 2024 · 3 comments · Fixed by #63
Closed

Endpoint by SSL, date and time of SMS delivery #59

djm03 opened this issue Apr 19, 2024 · 3 comments · Fixed by #63
Labels
enhancement New feature or request

Comments

@djm03
Copy link

djm03 commented Apr 19, 2024

Thank you for the great project.

Two questions about this:

  1. When using the local server, is there a way to secure the access to the endpoint by SSL?

  2. Can the date and time of SMS delivery be transmitted in the response, in addition to [state] => Delivered?

@capcom6 capcom6 added the enhancement New feature or request label Apr 19, 2024
@capcom6
Copy link
Owner

capcom6 commented Apr 19, 2024

Hello!

  1. Currently, the local server doesn't natively support SSL/TLS. This mode is intended for use within private and trusted networks, and I advise against exposing the local server to public access without any security measures. However, you can set up a reverse proxy such as Nginx to handle SSL/TLS termination.

  2. Regarding the transmission of the date and time of SMS delivery, this feature is not available at the moment. I will look into the possibility of implementing this functionality.

@djm03
Copy link
Author

djm03 commented Apr 19, 2024

Hello!

Thanks for the information. Where have the reverse proxy to be running, on the Android device? Do you have instructions for setting this up?

@capcom6
Copy link
Owner

capcom6 commented Apr 20, 2024

It's not common to run a reverse proxy directly on an Android device. Typically, a reverse proxy would run on a separate piece of hardware within your local network. This could be on a router that supports custom firmware and has the capability to run a reverse proxy, or it could be on a dedicated server or another computer in your network.

The general communication flow would look something like this:

Internet -> [Router] -> [Reverse Proxy] -> [Android Device]

In this setup, the parts within the parentheses represent your local network. The reverse proxy serves as a gateway that manages incoming Internet requests and directs them to your Android device.

If you're looking for a more straightforward solution, you might want to explore the Public Cloud Server mode. It's designed to be easier to set up and might be better suited for your needs if you're looking to avoid the complexity of configuring a reverse proxy. You can find more information and a guide to get started here: https://sms.capcom.me/getting-started/public-cloud-server/.

See also #20

@capcom6 capcom6 linked a pull request May 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants