Serendipity2-0 / TradeManV1

1 stars 0 forks source link

SSL certification for backend server #85

Closed VarshitaTP closed 2 months ago

VarshitaTP commented 2 months ago
SSL Certificate Integration for Docker Container
================================================

Current Status
--------------
We have successfully built a Docker image for our application, but we need to properly integrate SSL certificates and ensure the application is securely accessible via HTTPS.
We can access the sub domain via HTTP with port number

Steps Completed
---------------
1. Dockerfile has been created and successfully builds the image.
2. `start_docker.sh` script has been created to manage container lifecycle.
3. SSL certificates have been obtained and are located on the host machine.

Next Steps
----------
1. Verify SSL certificate path on the host machine:
   - Ensure certificates are in `/etc/letsencrypt/live/dev-api.trademan.ai/`
   - If not, update `SSL_CERT_PATH` in `start_docker.sh`

2. Run the container:
   ```bash
   chmod +x start_docker.sh
   ./start_docker.sh
  1. Verify container is running:

    docker ps
  2. Check container logs:

    docker logs master-container

Expected Outcome

Additional Tasks

Questions

  1. Is the SSL certificate being correctly recognized by browsers?

Notes

Serendipity2-0 commented 2 months ago

As discussed we are removing the SSL ceritifcation for front end as well as backend. The structure is ready and is working as expected except the reading and writing the db part. We will implement this by creating a main story for this and design a architecture for this