Add missing certificate for api.soundcloud.com

Fixes #4794.
This commit is contained in:
Arnaud Bienner 2015-04-25 17:51:08 +02:00
parent a0f24dff86
commit 99521ac15f
3 changed files with 82 additions and 0 deletions

View File

@ -398,6 +398,7 @@
<file>sidebar_background.png</file>
<file>smartplaylistsearchterm.css</file>
<file>songinfo.css</file>
<file>soundcloud-ca.pem</file>
<file>spinner.gif</file>
<file>spotify-attribution.png</file>
<file>star-off.png</file>

76
data/soundcloud-ca.pem Normal file
View File

@ -0,0 +1,76 @@
-----BEGIN CERTIFICATE-----
MIIE/jCCA+agAwIBAgISESFtsYPeX3c+ePAiBIwNao1HMA0GCSqGSIb3DQEBCwUA
MGAxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTYwNAYD
VQQDEy1HbG9iYWxTaWduIERvbWFpbiBWYWxpZGF0aW9uIENBIC0gU0hBMjU2IC0g
RzIwHhcNMTQwNDIyMTY1MjEyWhcNMTYwNDA4MTAwODQ4WjA+MSEwHwYDVQQLExhE
b21haW4gQ29udHJvbCBWYWxpZGF0ZWQxGTAXBgNVBAMMECouc291bmRjbG91ZC5j
b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC67uRdDzEzuXKEVVty
cZxocxsNKKB+zzBop6kkuslPLlABo0PtbqbihKxZ76m94JrdtkLE+rTTmffuO9An
tIwpHbrTnreG9fbt6ql6E82xSkNscL6n1FTnI9gYqKXMhMEOX67RFh0huj+WzFil
Xs6wcUDvWDoTC50/lpRVOacAPZxkZ+nuv7DGo3syAytygsa2JF+iH9ZS1AjlQziD
B8ZtM/oJoZ/8DD11YZ7IXt+ExxtWTNwmNQ4IWyNnK4PRHo0/w8gpsXg68581PWGq
S3DGdCsuwcS2nj0E0/P9tY3IFM1JSPJzKk2/TtKFRPVORAT/XQrovN/ShRgk30T0
to2jAgMBAAGjggHSMIIBzjAOBgNVHQ8BAf8EBAMCBaAwSQYDVR0gBEIwQDA+BgZn
gQw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LWLBYy5d4ux2x8gkasJ
U26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrXgzT/LCrBbBlDSgeF59N8
9iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8E
BTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0B
AQUFAAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOz
yj1hTdNGCbM+w6DjY1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE
38NflNUVyRRBnMRddWQVDf9VMOyGj/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymP
AbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhHhm4qxFYxldBniYUr+WymXUad
DKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveCX4XSQRjbgbME
HMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==
-----END CERTIFICATE-----

View File

@ -415,6 +415,11 @@ int main(int argc, char* argv[]) {
QSslSocket::addDefaultCaCertificates(
QSslCertificate::fromPath(":/grooveshark-valicert-ca.pem", QSsl::Pem));
// Do the same for SoundCloud, whose certificate is missing on OS X.
QSslSocket::addDefaultCaCertificates(
QSslCertificate::fromPath(":/soundcloud-ca.pem", QSsl::Pem));
// Has the user forced a different language?
QString override_language = options.language();
if (override_language.isEmpty()) {