在 Windows Azure 管理门户的“操作日志”中,我看到了操作“AddCertificates”。详细来说,我可以看到 base64 格式的 pfx 证书和纯文本密码。
我认为在日志中存储证书和密码是不对的。
如何禁用此功能?
UPD:来自操作日志的日志条目
<SubscriptionOperation xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<OperationId>7b52fbab-3cfe-40b4-9910-02d26d575503</OperationId>
<OperationObjectId>/094cc12d-f8f7-4f5f-804a-57b16bc87f1b/services/hostedservices/MyServiceName</OperationObjectId>
<OperationName>AddCertificates</OperationName>
<OperationParameters xmlns:d2p1="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.ServiceManagement">
<OperationParameter>
<d2p1:Name>subscriptionID</d2p1:Name>
<d2p1:Value>094cc12d-f8f7-4f5f-804a-57b16bc87f1b</d2p1:Value>
</OperationParameter>
<OperationParameter>
<d2p1:Name>serviceName</d2p1:Name>
<d2p1:Value>MyServiceName</d2p1:Value>
</OperationParameter>
<OperationParameter>
<d2p1:Name>input</d2p1:Name>
<d2p1:Value><?xml version="1.0" encoding="utf-16"?><CertificateFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure">
<Data>**BASE64CertificateData**</Data>
<CertificateFormat>pfx</CertificateFormat>
<Password>**PLAIN_PASSWORD**</Password></CertificateFile></d2p1:Value>
</OperationParameter>
</OperationParameters>
<OperationCaller>
<UsedServiceManagementApi>true</UsedServiceManagementApi>
<SubscriptionCertificateThumbprint>THUMBPRINT</SubscriptionCertificateThumbprint>
<ClientIP>95.221.82.19</ClientIP>
</OperationCaller>
<OperationStatus>
<ID>7b52fbab-3cfe-40b4-9910-02d26d575503</ID>
<Status>Succeeded</Status>
<HttpStatusCode>200</HttpStatusCode>
</OperationStatus>
<OperationStartedTime>2013-03-16T04:45:41Z</OperationStartedTime>
<OperationCompletedTime>2013-03-16T04:45:44Z</OperationCompletedTime>
</SubscriptionOperation>