mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-29 00:30:04 +02:00
[playdar] Set the correct certificate parameters
This commit is contained in:
@@ -113,9 +113,9 @@ PlaydarApi::start()
|
|||||||
builder.setSerial( uuid().toLatin1() );
|
builder.setSerial( uuid().toLatin1() );
|
||||||
builder.setActivationTime( QDateTime::currentDateTimeUtc());
|
builder.setActivationTime( QDateTime::currentDateTimeUtc());
|
||||||
builder.setExpirationTime( QDateTime::currentDateTimeUtc().addYears( 10 ) );
|
builder.setExpirationTime( QDateTime::currentDateTimeUtc().addYears( 10 ) );
|
||||||
builder.setBasicConstraints( true );
|
builder.setBasicConstraints( false );
|
||||||
builder.addKeyPurpose( CertificateBuilder::PurposeWebServer );
|
builder.addKeyPurpose( CertificateBuilder::PurposeWebServer );
|
||||||
builder.setKeyUsage( CertificateBuilder::UsageCrlSign|CertificateBuilder::UsageKeyCertSign );
|
builder.setKeyUsage( CertificateBuilder::UsageKeyAgreement|CertificateBuilder::UsageKeyEncipherment );
|
||||||
builder.addSubjectKeyIdentifier();
|
builder.addSubjectKeyIdentifier();
|
||||||
|
|
||||||
QSslCertificate cert = builder.signedCertificate( key );
|
QSslCertificate cert = builder.signedCertificate( key );
|
||||||
|
Reference in New Issue
Block a user