# SSL support

ONEWEB 4.0 supports SSL by setting up SSL/HTTPS on your server:

**Generate key** \
In general, you have two options to generate a key:&#x20;

* Using the Java Secure Socket Extension(JSSE)&#x20;
* The native implementation based on OpenSSL&#x20;

In both cases, you have to configure keys and (self-signed) certificates for your web server.

**Configure Wildfly** \
In case generate a key from Step 1 output file from the previous step is "oneweb.keystore" then copy the key file to "\[$JBOSS\_HOME]/standalone/configuration/". Now edit file standalone.xml

![](/files/TdC8qUHGJdks8vyTQqPB)

Under the profile option, expand undertow subsystem, there are two main parts which are **Server** and **Servlet container** configuration. Add https-listener under server

![](/files/ROY6IgWPhBhbRiR0DCZ3)

Under socket binding group Change Default WilfFly https port 8443 to 443.

![](/files/w7uLYoIIZXbQ91s4E0eS)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oneweb.tech/oneweb/design-and-develop-oneweb-apps/design-and-implement-security-and-compliance/ssl-support.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
