Hi
iam new to polygraph .I installed polygraph and iam trying measure performance of my web server with SSL and i modified my program as below
Content SimpleContent = {
size = exp(13KB); // response sizes distributed exponentially
cachable = 80%; // 20% of content is uncachable
};
// a primitive server cleverly labeled "S101"
// normally, you would specify more properties,
// but we will mostly rely on defaults for now
Server srvSsl = {
kind = "S101";
contents = [ SimpleContent ];
direct_access = contents;
SslWrap wrap1 = {
protocols = [ "any" ];
root_certificate = "/tmp/root.pem";
ciphers = [ "ALL:HIGH": 100% ];
rsa_key_sizes = [ 1024bit ];
session_resumption =40%;
session_cache =100;
};
ssl_wraps = [ wrap1 ];
addresses = ['192.168.1.102:8080' ]; // where to create these server agents
};
// a primitive robot
Robot rbtSsl = {
kind = "R101";writing new private key to '/tmp/serverkey.pem'
-----
000.01| executing: openssl x509 -req -in /tmp/serverreq.pem -sha1 -extensions usr_cert -CA /tmp/root.pem -CAkey /tmp/root.pem -CAcreateserial -CAserial /tmp/cert.srl -out /tmp/servercert.pem
Signature ok
subject=/C=US/ST=Colorado/L=Boulder/O=Measurement Factory, Inc/OU=Testing/CN=www.measurement-factory.com/emailAddress=info@measuremt-factory.com
Error opening CA Certificate /tmp/root.pem
3424:error:02001002:system library:fopen:No such file or directory:bss_file.c:259:fopen('/tmp/root.pem','r')
3424:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:261:
unable to load certificate
000.01| error: x509 key generation command failed
000.01| SSL error stack:
000.01| got 0 xactions and 0 errors
000.01| shutdown reason: fatal error
pop_model = { pop_distr = popUnif(); };
recurrence = 55% / SimpleContent.cachable; // adjusted to get 55% DHR
SslWrap wrap1 = {
protocols = [ "any" ];
root_certificate = "/tmp/root.pem";
ciphers = [ "ALL:HIGH": 100% ];
rsa_key_sizes = [ 1024bit ];
session_resumption =40%;Content SimpleContent = {
size = exp(13KB); // response sizes distributed exponentially
cachable = 80%; // 20% of content is uncachable
};
// a primitive server cleverly labeled "S101"
// normally, you would specify more properties,
// but we will mostly rely on defaults for now
Server srvSsl = {
kind = "S101";
contents = [ SimpleContent ];
direct_access = contents;
SslWrap wrap1 = {
protocols = [ "any" ];
root_certificate = "/tmp/root.pem";
ciphers = [ "ALL:HIGH": 100% ];
rsa_key_sizes = [ 1024bit ];
session_resumption =40%;
session_cache =100;
};
ssl_wraps = [ wrap1 ];
addresses = ['192.168.1.102:8080' ]; // where to create these server agents
};
// a primitive robot
Robot rbtSsl = {
kind = "R101";
pop_model = { pop_distr = popUnif(); };
recurrence = 55% / SimpleContent.cachable; // adjusted to get 55% DHR
SslWrap wrap1 = {
protocols = [ "any" ];
root_certificate = "/tmp/root.pem";
ciphers = [ "ALL:HIGH": 100% ];
rsa_key_sizes = [ 1024bit ];
session_resumption =40%;
session_cache =100;
};
ssl_wraps = [ wrap1 ];
origins = srvSsl.addresses; // where the origin servers are
addresses = ['192.168.1.102' ]; // where these robot agents will be created
};
// commit to using these servers and robots
use(srvSsl, rbtSsl);
session_cache =100;
};
ssl_wraps = [ wrap1 ];
origins = srvSsl.addresses; // where the origin servers are
addresses = ['192.168.1.102' ]; // where these robot agents will be created
};
// commit to using these servers and robots
use(srvSsl, rbtSsl);
i have saved myssl.conf file and make-CA-cert.sh file in /polygraph/bin
when i run the program i get an error message as
writing new private key to '/tmp/serverkey.pem'
-----
000.01| executing: openssl x509 -req -in /tmp/serverreq.pem -sha1 -extensions usr_cert -CA /tmp/root.pem -CAkey /tmp/root.pem -CAcreateserial -CAserial /tmp/cert.srl -out /tmp/servercert.pem
Signature ok
subject=/C=US/ST=Colorado/L=Boulder/O=Measurement Factory, Inc/OU=Testing/CN=www.measurement-factory.com/emailAddress=info@measuremt-factory.com
Error opening CA Certificate /tmp/root.pem
3424:error:02001002:system library:fopen:No such file or directory:bss_file.c:259:fopen('/tmp/root.pem','r')
3424:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:261:
unable to load certificate i
000.01| error: x509 key generation command failed
000.01| SSL error stack:
000.01| got 0 xactions and 0 errors
000.01| shutdown reason: fatal error
can anybody please help me with this as early as possible
Thanks
Deepa
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
Received on Sun Dec 3 09:26:13 2006
This archive was generated by hypermail 2.1.8 : Mon Dec 04 2006 - 12:00:06 MST