How can I create a public and private key using the terminal?
dadidoe Computer Pro :) Feb 25, 2009 #1 How can I create a public and private key using the terminal?
nixgeek Mac of the SubGenius! :-) Feb 25, 2009 #2 You'll have to provide a little more information as to why you're creating these keys.
dadidoe Computer Pro :) Feb 25, 2009 #3 these keys are required for my licence key mechanism Code: NSData *publicKeyData = [NSData dataWithContentsOfURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"public" ofType:@"pem"]]];
these keys are required for my licence key mechanism Code: NSData *publicKeyData = [NSData dataWithContentsOfURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"public" ofType:@"pem"]]];
nixgeek Mac of the SubGenius! :-) Feb 25, 2009 #4 dadidoe said: these keys are required for my licence key mechanism Code: NSData *publicKeyData = [NSData dataWithContentsOfURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"public" ofType:@"pem"]]]; Click to expand... Ah. I would assume that you might need to use OpenSSL to generate the keys. That's how I've generated keys and certificates for a FreeRADIUS setup I'm using here at work.
dadidoe said: these keys are required for my licence key mechanism Code: NSData *publicKeyData = [NSData dataWithContentsOfURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"public" ofType:@"pem"]]]; Click to expand... Ah. I would assume that you might need to use OpenSSL to generate the keys. That's how I've generated keys and certificates for a FreeRADIUS setup I'm using here at work.
dadidoe Computer Pro :) Feb 25, 2009 #5 how can i create them? i know its possible via the terminal but how?
ElDiabloConCaca U.S.D.A. Prime Feb 25, 2009 #6 http://www.madboa.com/geek/openssl/#key OpenSSL should already be installed on your Mac, ready-to-use for generating keys.
http://www.madboa.com/geek/openssl/#key OpenSSL should already be installed on your Mac, ready-to-use for generating keys.