Click here to Skip to main content
15,896,320 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: CSS Selector Problem [modified] Pin
Manfred Rudolf Bihy29-Oct-10 1:25
professionalManfred Rudolf Bihy29-Oct-10 1:25 
GeneralRe: CSS Selector Problem Pin
Patrick Skelton2-Nov-10 3:17
Patrick Skelton2-Nov-10 3:17 
QuestionIncrease your webpage performance by using 80/20 rule of Vilfredo Pareto Pin
Sunasara Imdadhusen27-Oct-10 22:45
professionalSunasara Imdadhusen27-Oct-10 22:45 
QuestionYahoo. Google Oauth APIs.. Pin
Lijo Rajan27-Oct-10 4:07
Lijo Rajan27-Oct-10 4:07 
QuestionHtml element tooltip / title attribute in Opera kioskmode not showing? [modified] Pin
rolfhorror22-Oct-10 22:37
rolfhorror22-Oct-10 22:37 
QuestionNeed help on Windows Mobile 5.0 [modified] Pin
Rahul Chitte22-Oct-10 5:36
Rahul Chitte22-Oct-10 5:36 
QuestionSSL, but not via a web server Pin
TimWallace21-Oct-10 5:53
TimWallace21-Oct-10 5:53 
AnswerRe: SSL, but not via a web server Pin
Rob Smiley21-Oct-10 6:26
Rob Smiley21-Oct-10 6:26 
You need 2 or 3 files to implement this - .cer for the public key, .pvk for the private key and optionally (recommended) a .pfx for the combined certificate store key.

This is the sequence i've used before to generate all the bits:

makecert -n "CN=My Secure Key" -sv "MyKey.pvk" MyKey.cer
cert2spc "MyKey.cer" "MyKey.spc"
pvk2pfx -pvk "MyKey.pvk" -pi KeyPassword -spc "MyKey.spc" -pfx "MyKey.pfx" -f

Once you have the files, embed the .cer in the 'public' past of your code, Install the .pfx in the server certificate store. Load the .cer with X509Certificate2 & find the private key in X509Store, e.g.

_publicCert = New X509Certificate2()
_publicCert.Import(My.Resources.PublicKeyCer)


Dim certStore As X509Store = New X509Store()
certStore.Open(OpenFlags.ReadOnly)

For Each installObj As X509Certificate2 In certStore.Certificates.Find(X509FindType.FindByThumbprint, _publicCert.Thumbprint, False)

Next


Hope this helps, Rob
"An eye for an eye only ends up making the whole world blind"

Questionie css display issue, I need advice Pin
cjoki15-Oct-10 3:30
cjoki15-Oct-10 3:30 
AnswerRe: ie css display issue, I need advice Pin
phil.o15-Oct-10 4:15
professionalphil.o15-Oct-10 4:15 
GeneralRe: ie css display issue, I need advice Pin
cjoki15-Oct-10 4:40
cjoki15-Oct-10 4:40 
GeneralRe: ie css display issue, I need advice Pin
phil.o15-Oct-10 5:10
professionalphil.o15-Oct-10 5:10 
GeneralRe: ie css display issue, I need advice Pin
cjoki15-Oct-10 5:57
cjoki15-Oct-10 5:57 
GeneralRe: ie css display issue, I need advice Pin
cjoki16-Oct-10 8:05
cjoki16-Oct-10 8:05 
GeneralRe: ie css display issue, I need advice Pin
phil.o26-Oct-10 3:41
professionalphil.o26-Oct-10 3:41 
GeneralRe: ie css display issue, I need advice Pin
W Balboos, GHB8-Nov-10 2:34
W Balboos, GHB8-Nov-10 2:34 
GeneralRe: ie css display issue, I need advice Pin
cjoki10-Nov-10 15:10
cjoki10-Nov-10 15:10 
QuestionTabbed Page in HTML Pin
swornavidhya_m14-Oct-10 1:26
swornavidhya_m14-Oct-10 1:26 
GeneralRe: Tabbed Page in HTML Pin
Murugesan G14-Oct-10 20:51
Murugesan G14-Oct-10 20:51 
QuestionWant to display images from database with thumbnails but I have errors [modified] Pin
dababy13-Oct-10 5:43
dababy13-Oct-10 5:43 
AnswerRe: Want to display images from database with thumbnails but I have errors Pin
Not Active14-Oct-10 0:17
mentorNot Active14-Oct-10 0:17 
AnswerRe: Want to display images from database with thumbnails but I have errors Pin
NeverHeardOfMe14-Oct-10 3:46
NeverHeardOfMe14-Oct-10 3:46 
GeneralRe: Want to display images from database with thumbnails but I have errors Pin
dababy14-Oct-10 4:33
dababy14-Oct-10 4:33 
GeneralRe: Want to display images from database with thumbnails but I have errors Pin
NeverHeardOfMe14-Oct-10 4:39
NeverHeardOfMe14-Oct-10 4:39 
QuestionRe: Want to display images from database with thumbnails but I have errors Pin
Luc Pattyn14-Oct-10 4:57
sitebuilderLuc Pattyn14-Oct-10 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.