-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject upload of malformed TLS files
- Loading branch information
1 parent
a61bb25
commit c5ed261
Showing
4 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,7 +121,8 @@ For more information on how to generate these files, please consult the official | |
[Docker documentation](https://docs.docker.com/engine/security/protect-access/). | ||
|
||
The files can be uploaded to the device using HTTP. | ||
The dockerd service will restart, or try to start, after each HTTP POST request. | ||
The request will be rejected if the file being uploaded has the incorrect header or footer for that file type. | ||
The dockerd service will restart, or try to start, after each successful HTTP POST request. | ||
|
||
```sh | ||
curl --anyauth -u "root:$DEVICE_PASSWORD" -F [email protected] -X POST \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters