Skip to content

Commit 5be32ee

Browse files
authored
Improve sentence
1 parent c6c2672 commit 5be32ee

File tree

1 file changed

+6
-6
lines changed
  • tutorials/creating-https-application

1 file changed

+6
-6
lines changed

tutorials/creating-https-application/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Create main controller
4343
$ fanocli --controller=Home --route=/
4444
```
4545
## Setup SSL certificate
46-
For our development purpose we only need to use self-signed certificate. If you plan to have a publicly reachable server, you will need to ask a trusted third party, called *Certificate Authority*, to attest the certificate for you.
46+
For our development purpose, we only need to use self-signed certificate. If you plan to have a publicly reachable server, you will need to ask a trusted third party, called *Certificate Authority*, to attest the certificate for you.
4747

48-
We need to create private key. We use OpenSSL to generate 1024 bit key. For our purpose, 1024 bit key is sufficient.
48+
We need to create secret private key. We use OpenSSL to generate 1024 bit key. For our purpose, 1024 bit key is sufficient.
4949

5050
```
5151
$ openssl genrsa -out myhttps.key 1024
@@ -57,9 +57,9 @@ If everything is ok, you should find `myhttps.key` file in current directory. Ne
5757
$ openssl req -days 365 -out myhttps.pem -new -x509 -key myhttps.key
5858
```
5959
You will be asked serveral questions, make sure `Common Name` match URI of your domain.
60-
If command is succesful, you should find `myhttps.pem` file in current directory.
60+
If command is successful, you should find `myhttps.pem` file in current directory.
6161

62-
## Add certificate in application
62+
## Add SSL certificate in application
6363

6464
Open `src/app.pas` and edit lines like so
6565

@@ -76,7 +76,7 @@ Run
7676
$ ./build.sh
7777
```
7878

79-
Wait until compilation is finished. If you get error such as
79+
Wait until compilation is finished. If you get error such as,
8080

8181
```
8282
/usr/bin/ld : cannot find -lmicrohttpd
@@ -94,7 +94,7 @@ $ ./bin/app.cgi
9494

9595
## Access application from browser
9696

97-
By default, our application listens on port `20477`. Open web browser and go to `https://127.0.0.1:20477`. Internet browser will show warning because we use self-signed certificate. Just ignore it and you should see text *Home Controller* is printed on browser.
97+
By default, application listens on port `20477`. Open web browser and go to `https://127.0.0.1:20477`. Internet browser will show warning because we use self-signed certificate. Just allow and accept it and you should see text *Home Controller* is printed on browser.
9898

9999
## Summary
100100

0 commit comments

Comments
 (0)