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

Configure SSL #18

Open
pawp81 opened this issue Nov 6, 2020 · 2 comments
Open

Configure SSL #18

pawp81 opened this issue Nov 6, 2020 · 2 comments

Comments

@pawp81
Copy link

pawp81 commented Nov 6, 2020

The instruction is missing how to configure external server with SSL.
Shall the .crt and .key files be placed in the root folder of o365-attack toolkit?
How to reference them in template.conf file?
I am install it on Debian

@0x09AL
Copy link
Collaborator

0x09AL commented Nov 6, 2020

The "external" server is supposed to be exposed by using a reverse proxy configuration and not directly.
Please refer to the recommended architecture.

@rcaroncd
Copy link

You can use Caddy Server with the following Caddyfile (to handle https connections and redirect to external server on localhost):

oauth.example.com {
    reverse_proxy * http://localhost:30662
    
    tls {
        protocols tls1.2 tls1.3
    }

    log {
        output stdout
    }
}

And run with the command: caddy run --config Caddyfile --watch (remember point your domain o subdomain to the server IP address, otherwise, you could be banned from letsencrypt.

Greetings and hope this could help you!

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

3 participants