| Scroll Ignore |
|---|
| scroll-viewport | true |
|---|
| scroll-pdf | true |
|---|
| scroll-office | true |
|---|
| scroll-chm | true |
|---|
| scroll-docbook | true |
|---|
| scroll-eclipsehelp | true |
|---|
| scroll-epub | true |
|---|
| scroll-html | false |
|---|
|
|
Erreurs communes lors de l'envoi de la requête
Messages d'erreurs liés au protocole HTTPS
Le certificat SSL a été refusé
| Code Block |
|---|
|
$ curl -s -S -H "x-api-token: XYZ" \
https://broker-module-livedata:50100/api/v2/inventory
curl: (60) SSL certificate problem: unable to get local issuer certificate
… |
| Info |
|---|
Cela peut se produire si le certificat du serveur est auto-signé. Pour contourner la validité de l'émetteur du certificat, il faut utiliser l'option --insecure ( option courte : -k ). | Code Block |
|---|
| curl --insecure -s -S -H "x-api-token: XYZ" \
https://broker-module-livedata:50100/api/v2/inventory |
|
Avec curl v7.29.0 :
| Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
|
curl: (60) Peer's Certificate issuer is not recognized. … |
Avec curl v7.60 et supérieur :
| Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
|
curl: (60) SSL certificate problem: unable to get local issuer certificate … |
Requête HTTP sur un serveur en HTTPS
| Code Block |
|---|
|
$ curl -s -S -H "x-api-token: XYZ" \
http://broker-module-livedata:50100/api/v2/inventory
The client IP_SERVEUR:PORT_CLIENT sent a plain HTTP request, but this server only speaks HTTPS on this port. |
| Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
|
The client IP_SERVEUR:PORT_CLIENT sent a plain HTTP request, but this server only speaks HTTPS on this port. |
Requête HTTPS sur un serveur en HTTP
| Code Block |
|---|
|
$ curl -s -S -H "x-api-token: XYZ" \
https://broker-module-livedata:50100/api/v2/inventory
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number |
Avec curl v7.29.0 :
| Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
|
curl: (35) SSL received a record that exceeded the maximum permissible length. |
Avec curl v7.60 et supérieur :
| Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
|
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number |
|---|
Erreurs communes lors de l'envoi de la requête
Messages d'erreurs liés au protocole HTTPS
Le certificat SSL a été refusé| Section |
|---|
| Column |
|---|
| | Code Block |
|---|
| $ curl -s -S -H "x-api-token: XYZ" \
https://broker-module-livedata:50100/api/v2/inventory
curl: (60) SSL certificate problem: unable to get local issuer certificate
… |
| Info |
|---|
Cela peut se produire si le certificat du serveur est auto-signé. Pour contourner la validité de l'émetteur du certificat, il faut utiliser l'option --insecure ( option courte : -k ). | Code Block |
|---|
| curl --insecure -s -S -H "x-api-token: XYZ" \
https://broker-module-livedata:50100/api/v2/inventory |
|
|
| Column |
|---|
| Avec curl v7.29.0 : | Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
| curl: (60) Peer's Certificate issuer is not recognized. … |
Avec curl v7.60 et supérieur : | Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
| curl: (60) SSL certificate problem: unable to get local issuer certificate … |
|
|
Requête HTTP sur un serveur en HTTPS| Section |
|---|
| Column |
|---|
| | Code Block |
|---|
| $ curl -s -S -H "x-api-token: XYZ" \
http://broker-module-livedata:50100/api/v2/inventory
The client IP_SERVEUR:PORT_CLIENT sent a plain HTTP request,
but this server only speaks HTTPS on this port. |
|
| Column |
|---|
| | Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
| The client IP_SERVEUR:PORT_CLIENT sent a plain HTTP request, but this server only speaks HTTPS on this port. |
|
|
Requête HTTPS sur un serveur en HTTP| Section |
|---|
| Column |
|---|
| | Code Block |
|---|
| $ curl -s -S -H "x-api-token: XYZ" \
https://broker-module-livedata:50100/api/v2/inventory
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number |
| Column |
|---|
| Avec curl v7.29.0 : | Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
| curl: (35) SSL received a record that exceeded the maximum permissible length. |
Avec curl v7.60 et supérieur : | Panel |
|---|
| borderColor | #dfe1e5 |
|---|
| borderWidth | 1 |
|---|
| borderStyle | solid |
|---|
| curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number |
|
|
|
|