Giter Club home page Giter Club logo

Comments (8)

ImBrendano avatar ImBrendano commented on June 3, 2024 1

Ahh, I was wondering if that was the case too I just didn't have the ssl cert. I appreciate it. Btw are you really 15?

from snaily-cadv3.

ImBrendano avatar ImBrendano commented on June 3, 2024 1

Damn man, I'm 21 and you're a far better coder than me.

from snaily-cadv3.

mitchal01 avatar mitchal01 commented on June 3, 2024 1

If your using Linux Ubuntu (This is what I am currently running and it works)

Use Nginx to help out

@nap14hockey#1957 Posted this at the right time

sudo apt update
sudo apt install -y certbot

Run this if you use Nginx

sudo apt install -y python3-certbot-nginx

Nginx

certbot certonly --nginx -d example.com

Standalone - Use this if ngnix does not works. Make sure to stop your webserver first when using this method.

certbot certonly --standalone -d example.com

#sites-enable config

server {
listen 80;
listen 443 ssl;
server_name ;

ssl_certificate        <Directory to certs>/fullchain.pem;
ssl_certificate_key     <Directory to certs>/privkey.pem;
ssl_trusted_certificate <Directory to certs>/chain.pem;

location / {
proxy_pass http://localhost:3030;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}

As well @Dev-CasperTheGhost This could also help in the Wiki for Ngnix

from snaily-cadv3.

casperiv0 avatar casperiv0 commented on June 3, 2024

Hey,

Due to new cookie regulations that don't allow Cross-Site cookies anymore, you need an SSL Certificate for your domain (https) to have this CAD/MDT work in iframes/cross-sites.

Once you've got your SSL certificate, you need to enable secureCookie in the config.ts:

allowIframes: true,
secureCookie: true,

from snaily-cadv3.

casperiv0 avatar casperiv0 commented on June 3, 2024

Btw are you really 15?

For those interested: yes, I'm 15 at the time of posting this comment.

from snaily-cadv3.

casperiv0 avatar casperiv0 commented on June 3, 2024

I'll keep this issue open for others too see. Maybe it helps them too

from snaily-cadv3.

ImBrendano avatar ImBrendano commented on June 3, 2024

Have the domain with ssl but I'm getting ERR_SSL_PROTOCOL_ERROR not sure what to do

from snaily-cadv3.

casperiv0 avatar casperiv0 commented on June 3, 2024

Will add it to the wiki soon

from snaily-cadv3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.