Displaying keyword search results 51 - 60
Created by Dr. Xi on March 31, 2011 15:31:30 Last update: March 31, 2011 15:31:30
The .pfx is a PKCS #12 file. Follow these steps to create one that can be imported to IIS: Create the key and cert files as usual . Concatenate the key and cert:
cat testServer.key testServer.crt >iisimport.pemCreate the PKCS 12 file with openssl:
openssl pkcs12 -export -in iisimport.pem -out iisi...
Created by Dr. Xi on October 16, 2008 20:45:40 Last update: March 28, 2011 20:23:22
Java's built-in classes are way too complex/flexible for a simple protocol like HTTP. This is a wrapper to simplify HTTP GET and POST.
import java.io.*; import java.net.*; imp...A simple test:
import java.io.*; import java.util.*; ...
Created by Dr. Xi on December 12, 2007 22:57:22 Last update: March 25, 2011 15:05:40
1. Install windows resource kit . 2. Install srvany as a service:
C:\tools\putty>instsrv ssh_tunnel "C:\Program File...3. Edit the following registry template to suite your environment:
Windows Registry Editor Version 5.00 [H...4. Import the registry entry. 5. Start the service with "net start ssh_tunnel" or from the services applet. You may choose to use a batch file for srvany (instead of plink.exe ), but you won't be able to shut down the tunnel when you stop the service. Also, if the Windows SYSTEM user cannot see the host key for SSH connection, the tunnel cannot be established.
Created by voodoo on March 24, 2011 09:55:43 Last update: March 24, 2011 10:04:02
Goto http://www.adobe.com/downloads/ , click the download flash player icon Select YUM for Linux from "Select version to download" dropdown Save the rpm file, which is about 4.3K. Install the RPM:
rpm -i adobe-release-i386-1.0-1.noarch.rpmImport the Adobe key:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-li...Install the flash plugin
yum install flash-plugin nspluginwrapper.x86_64 ns...
Created by voodoo on March 23, 2011 15:32:55 Last update: March 23, 2011 15:36:00
I got "Unknown SSL protocol error" when using curl to get the default page from iis 7 (of course, IE simply displayed "Internet Explorer cannot display the webpage"). The problem was that I used the default iis 7 certificate, which didn't have a name - and that caused SSL to fail. I created a new certificate with a name and that fixed the problem.
# curl -v -k --dump-header - https://192.168.80.15...Other possible reasons: 3 Common Causes of Unknown SSL Protocol Errors with cURL
Created by Dr. Xi on March 05, 2011 14:39:42 Last update: March 05, 2011 14:40:35
Select from information_schema :
mysql> select cc.character_set_name -> from...Other columns available from the information_schema tables:
mysql> desc tables; +-----------------+--------...Note that show create table <table_name> also works.
Created by Dr. Xi on March 05, 2011 14:31:44 Last update: March 05, 2011 14:32:21
Select from information_schema.tables :
mysql> select table_collation from information_sch...Or,
show create table mysql.host;
CREATE TABLE `host` ( `Host` char(60) collate...
Created by voodoo on March 04, 2011 12:46:58 Last update: March 04, 2011 12:47:35
According to SELinux Trouble Shooting Tool AVC AVC stands for Access Vector Cache . SELinux Denials are reported in the logging system as AVC 's with the denied key word.
Created by freyo on February 23, 2011 13:58:12 Last update: February 23, 2011 13:59:07
Android DumpPublicKey utility mandates that the public key modulus should be 2048 bits long and should have exponent 3 instead of the default value of 65537:
C:\>java com.android.dumpkey.DumpPublicKey cert.cr...This is how to generate such a key with OpenSSL :
openssl genrsa -out mykey.pem -des -3 2048or,
openssl genpkey -algorithm RSA -out mykey.pem \ ...
Created by freyo on February 23, 2011 13:38:23 Last update: February 23, 2011 13:38:23
The Java keytool utility does not support importing a private key directly from a file. But it does support merging a keystore with the -importkeystore command. So, for a private key generated with OpenSSL in PEM format, you first convert the PEM key into PKCS12 format , then merge the one-key PKCS12 store with the Java KeyStore:
C:\>keytool -importkeystore -srckeystore openssl_c...