PDA

View Full Version : Download and server certifications



amuls
3rd October 2011, 13:22
Hi All

I am working on a program that downloads GPS almanac data from a site and then performs calculations.
The site I want to use is gps.afspc.af.mil/gps/archive/ and a file I want to download is e.g.

https://gps.afspc.af.mil/gps/archive/2011/ALMANACS/YUMA/200.ALM

This gives me problems with the site certification using the program download or downloadmanager as found in the examples directory.
I think I must use ssl certification, but I do not knwo howto do this.

I can download the file with wget as follows:
wget --no-check-certificate https://gps.afspc.af.mil/gps/archive/2011/ALMANACS/YUMA/200.ALM

How can I introduce this --no-check-certificate in download or downloadmanager.

Tx/Alain

wysota
3rd October 2011, 15:17
QSslSocket::ignoreSslErrors()