Current time: 12-11-2019, 07:33 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTPS / Certificate Authority
05-26-2011, 07:06 PM
Post: #1
HTTPS / Certificate Authority
Hi guys

I'm running a private instance of Webpagetest in our testing environment. I can run successful reports on our internal webpages with HTTP but not HTTPS, however, if I go out through a proxy I can sucessfully test external HTTPS pages.

The problem I believe points to our use of self-signed certs in the testing environment. I'd like to know if a) Webpagetest or Pagetest.exe is compatiible with self-sign/internal certificate authority, and b) if they are, does Pagetest.exe then have it's own certificate store where I can register our internal cert authority?

I hope this is clear. Really need to get this working. I'm aware of the 'ignore ssl errors' check box, but would rather not have to use it.

Many thanks,

Joe
Find all posts by this user
Quote this message in a reply
05-26-2011, 10:50 PM
Post: #2
RE: HTTPS / Certificate Authority
One thing that might help is if you add:

use current account=1

to urlblast.ini. It will run the browser as the same user account as is used for urlblast and should use IE however it is configured (including certificate stores, etc). I'm not sure if pagetest.exe will use the certificate stores configured in the OS but I would think that it should (probably best to try testing with IE first).
Visit this user's website Find all posts by this user
Quote this message in a reply
05-26-2011, 11:31 PM
Post: #3
RE: HTTPS / Certificate Authority
Patrick, hi!

I've added the line of code you suggested, my urlblast.ini now looks as follows:

[Configuration]
Startup Delay=10
Log File=c:\webpagetest\log.txt
Timeout=120
Use Current Account=1

; where to get work from
Url Files Url=http://192.168.56.53/work/
Location=Test
Location Key=TestKey123


Unfortunately following this change the pagetest still fails with https. I have monitored task manager and found pagetest.exe is still running as user1, perhaps I've written the code incorrectly?

Alternatively, do you know the password for the user1 account? In theory, if I log in as this user and add the local certificate authority I will be successful.

(05-26-2011 10:50 PM)pmeenan Wrote:  One thing that might help is if you add:

use current account=1

to urlblast.ini. It will run the browser as the same user account as is used for urlblast and should use IE however it is configured (including certificate stores, etc). I'm not sure if pagetest.exe will use the certificate stores configured in the OS but I would think that it should (probably best to try testing with IE first).
Find all posts by this user
Quote this message in a reply
05-26-2011, 11:44 PM
Post: #4
RE: HTTPS / Certificate Authority
Are you running the latest (2.2) release or are you on an older build? The "use current account" was a very recent addition and wasn't around before 2.2.

The user1 password is 2dialit

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
05-27-2011, 12:00 AM (This post was last modified: 05-27-2011 12:01 AM by Joe.)
Post: #5
Thumbs Up RE: HTTPS / Certificate Authority
I now have it working - I needed to import my chain certificate into the local computer container (rather than user) to get around pagetest.exe. running under the User1 account.

Thank you for your time, Pat, you've been most helpful. Wink

(05-26-2011 11:44 PM)pmeenan Wrote:  Are you running the latest (2.2) release or are you on an older build? The "use current account" was a very recent addition and wasn't around before 2.2.

The user1 password is 2dialit

Thanks,

-Pat
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)