Skip to content

Commit c6b7c37

Browse files
authored
Update https.md
1 parent ee2aa5e commit c6b7c37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

https.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ To solve that problem browser like Chrome, Firefox, Safari etc. come embedded wi
7171

7272
## Certificate Pinning for apps (and website)
7373
#### What's this now?
74-
In general any user who has an access to the app can see all the API calls even if it HTTPS. To do that he creates a certificate authority and tells the device (Android / iOS) to trust it. Now when you connect to the server it replaces your server's certificate with the one generated `on the fly` with its certificate (own public/private `key` pair) signed by his own certificate authority and now he can sit in the middle and act as server for the mobile client and act as client for the server. Sneaky.
74+
In general any user who has an access to the app can see all the API calls even if it HTTPS. To do that he creates a certificate authority and tells the device (Android / iOS) to trust it. Now when you connect to the server it sits in between the server and the app and replaces your server's certificate with the one generated `on the fly` with its certificate (having own public/private `key` pair) signed by his own certificate authority and now he can sit in the middle and act as server for the mobile client and act as client for the server. Sneaky.
7575

7676
#### Wait! Isn't HTTPS supposed to prevent that?
7777
Yes, but HTTPS can only help you when the trusted certificate authorities are actually trust worthy. In this case, the user forced the device to trust his own created certificate authority!
@@ -91,8 +91,8 @@ Certificate pinning is a good way to prevent this but there is one better way to
9191
https://www.paypal-engineering.com/2015/10/14/key-pinning-in-mobile-applications/
9292
```
9393

94-
### Precautions for general public
94+
## Precautions for general public
9595
#TODO
9696

97-
### Future of HTTPS
97+
## Future of HTTPS
9898
#TODO

0 commit comments

Comments
 (0)