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

[Polkadot Wiki Migration] Setup Secure WebSockets #35

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

CrackTheCode016
Copy link
Collaborator

infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
@dawnkelly09
Copy link
Collaborator

Scan for Vale false positives. Resolved convos = made it on the update list and should go away now. I left comments for the legit flags with suggested edits. Thank you!


## Secure a WS Port

A non-secure WebSocket port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal WebSocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'WSS', if it's unfamiliar to the audience.


## Secure a WS Port

A non-secure WebSocket port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal WebSocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'WSS', if it's unfamiliar to the audience.


## Secure a WS Port

A non-secure WS port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal WebSocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'WSS', if it's unfamiliar to the audience.


## Secure a WS Port

A non-secure WS port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal WebSocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'WSS', if it's unfamiliar to the audience.


## Secure a WebSocket Port

A non-secure WS port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal websocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'WSS', if it's unfamiliar to the audience.


## Secure a WebSocket Port

A non-secure WS port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal websocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Vale.Spelling] Did you really mean 'websocket'?


## Secure a WebSocket Port

A non-secure WS port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal websocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Papermoon.CustomDictionary] Did you really mean 'websocket'?


## Secure a WebSocket Port

A non-secure WS port can be converted to a secure WSS port by placing it behind an SSL-enabled proxy. This can be used to secure a bootnode or secure a RPC server. The SSL-enabled apache2/nginx/other proxy server redirects requests to the internal websocket and converts it to a secure (WSS) connection. For this, you will need an SSL certificate for which you can use a service like LetsEncrypt or self-signing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'WSS', if it's unfamiliar to the audience.

infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
infrastructure/general/setup-secure-wss.md Outdated Show resolved Hide resolved
@nhussein11
Copy link
Collaborator

nhussein11 commented Oct 1, 2024

As infrastructure>general>index.md has not been modified, I can't add a code suggestion, it should be like:

title: General Infrastructure
nav:
  - index.md
  - 'Setup Secure WebSocket': setup-secure-wss.md

I had a bit of a tough time trying to find the page hahah 😆

Comment on lines 22 to 25
```bash
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/selfsigned.key -out /etc/ssl/certs/selfsigned.crt
sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command can be moved to a code snippet. Also, It might be helpful to include a brief explanation before or after the command to clarify its function.

Comment on lines 76 to 80
```bash
apt install apache2
a2dismod mpm_prefork
a2enmod mpm_event proxy proxy_html proxy_http proxy_wstunnel rewrite ssl
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved to a code snippet

CrackTheCode016 and others added 2 commits October 3, 2024 08:34
Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com>
@CrackTheCode016 CrackTheCode016 requested a review from a team as a code owner October 3, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants