HaarigerHarald / android-youtubeExtractor

Deprecated: Android based YouTube URL extractor and downloader
Other
878 stars 305 forks source link

Certificate expired #23

Open Duna opened 7 years ago

Duna commented 7 years ago

When calling getStreamUrls()

com.android.org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: Certificate not valid until Wed Apr 01 03:00:00 GMT+03:00 2015 (compared to Thu Jan 01 02:54:25 GMT+02:00 1970)

It seems that the certificate is expired.

fnkr commented 7 years ago

@Duna It seems to me that the exception states exactly the opposite of what you're saying. The certificate is not yet valid because it's validity begins Wed Apr 01 03:00:00 GMT+03:00 2015 and your local time is set to Thu Jan 01 02:54:25 GMT+02:00 1970. You've probably never set your local time and automatic time configuration is either not working or disabled. Updating your the time in the Settings App should fix this.