【发布时间】:2019-07-13 05:42:47
【问题描述】:
我一直在尝试执行下面的命令,但它导致了错误
aws cloudfront update-distribution --id E29BDBENPXM1VE \
--Origins '{ "Items": [{
"OriginPath": "",
"CustomOriginConfig": {
"OriginSslProtocols": {
"Items": [
"TLSv1",
"TLSv1.1",
"TLSv1.2"
],
"Quantity": 3
}
}
}
]
}'
错误::: 未知选项:{ "Items": [{ "源路径": "", "CustomOriginConfig": { “OriginSsl协议”:{ “项目”: [ "TLSv1", "TLSv1.1", “TLSv1.2” ], “数量”:3 } } } ] }, --起源
我必须删除cloudfront : OriginSslProtocols:SSLv3
aws cloudfront update-distribution --id E29BDBENPXM1VE \
--Origins '{ "Items": [{
"OriginPath": "",
"CustomOriginConfig": {
"OriginSslProtocols": {
"Items": [
"TLSv1",
"TLSv1.1",
"TLSv1.2"
],
"Quantity": 3
}
}
}
]
}'
1) 如果无法修复上述代码,如果除了以下命令之外还有其他命令可以禁用/删除 OriginSslProtocols:SSLv3
aws cloudfront update-distribution --id E29BDBENPXM1VE --distribution-config file://secure-ssl.json --if-match E35YV3CGILXQDJ
【问题讨论】: