Skip to content

Using https instead of http for data #125

@TodorDimitrovIvanov

Description

@TodorDimitrovIvanov

Hello team,

Thank you for your work with the open-sammy app as it's by far the best OWASP SAMM tool I could find.

However I'm having troubles making the app work via the https protocol and more specifically the form for creating a new scope (the URL is domainname.com/project/add). I've tried redirecting all http traffic to https using Apache rewrite rules like so:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}

And while this works for most pages, regardless of what I do, the form will always be submitted through the insecure http protocol. Is there a way to re-configure the app to work via https? For example, on some PHP applications you can set the base URL (namely WordPress) but I can't find anything similar for open-sammy.

Additionally, i've reviewed the app's documentation and issues but couldn't find anything regarding forcing https traffic apart from this issue.

So my problem boils down to this - is there a way to make all of the app's resources load via the https protocol by default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions