当前位置: 首页 > 图文教程 > 数据库 > MSSQL > 数据库安全性策略 (2)

MSSQL
系统存储过程sp_MSforeachtable和sp_MSforeachdb使用说明
一些文件未注册导致mssql表文件无法找开的解决方法
用sql获取某字符串中的数字部分的语句
SQL 判断字段类型语句
MSSQL 生成日期列表代码
MSSQL 计算两个日期相差的工作天数的语句
SqlServer 实用操作小技巧集合
sql中all,any,some用法
最常用的SQL语句
SQL语法 分隔符理解小结
sql 服务器知识
隐藏在SQLServer 字段中的超诡异字符解决过程
将备份数据还原到数据库的步骤
SQL Server 高速缓存依赖分析
SQL 多表连接查询实现语句
sql convert函数使用小结
sqlserver2005 行列转换实现方法
跨服务器查询导入数据的sql语句
返回SQL执行时间的存储过程
MSSQL ISQL命令详解

MSSQL 中的 数据库安全性策略 (2)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-30   浏览: 32 ::
收藏到网摘: n/a

  讨论主题: 数据库安全性策略  

在Oracle Web Server里设置使用SSL协议

1998/6/18

在Oracle Web Server里产生安全认证请求
%genreq /* 在 ORACLE_HOME路径下运行 */

Certificate Request Generator /* 提示信息 */

G - Generate key pair and certificate request

Q - Quit

> Enter choice:

G /* 输入G,产生安全申请的密匙对 */

> Enter password (at least 8 characters) for creating a private key or

press to cancel:

/* 创建私人密匙的口令 */

> Confirm the password:

/*重复输入密匙的口令 */

> Specify the public exponent used to generate key pair [F4]:

> Enter modulus size [768]:

> Choose how you want to generate a random seed for the key pair.

F - Random file

K - Random key sequences

B - Both

Enter choice:

B /* 输入B,选择产生密匙对的随机数产生方法 */

> Enter the name of file to use as a source of random seed information:

/* 输入ORACLE_HOME路径下任何一个文件名 */

Type random characters (about 400) until you hear a beep:

/* 输入400个随机字符 */

......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

> Stop typing.

> Accept? [Y]

> Enter the name of the distinguished name file [servname.der]:

> Enter the name of the private key file [privkey.der]:

> Enter the name of the certificate request file [certreq.pkc]:

> Enter the identification information for the certificate you are requesting:

> Enter your Common Name (1 to 64 chars):

/* 输入你服务器的域名 */

> Enter your Organization Unit Name (1 to 64 chars):

/* 输入你所在的部门名称 */

> Enter your Organization Name (1 to 64 chars):

/* 输入你的公司名 */

> Enter your Locality Name (1 to 128 chars):

/* 输入你所在的位置 */

> Enter your State or Province (1 to 128 chars) [default: Illinois]:

/* 输入你所在的省或市 */

> Enter your Country Name (2 chars) [default:US]:

CN /* 输入你所在的国家简称 */

> Enter your Web Master's name (1 to 64 chars):

/* 输入你Web站点管理者的名字 */

> Enter your Web Master's E-mail address (1 to 128 chars):

/* 输入你Web站点管理者E-mail地址 */

> Enter the name and version number of application

for which you are getting the certificate (1 to 64 chars)

[Spyglass Server Version 2.11]:

Thank you.

........done /* 安全申请的密匙对成功地产生了 */

G - Generate key pair and certificate request

Q - Quit

> Enter choice:

Q /* 退出申请 */

把安全认证请求发到安全认证机构VeriSign, Inc公司
把第一步产生的安全认证请求文件certreq.pkc内容复制下来,粘贴到认证机构VeriSign, Inc公司(或者其它认证机构)申请框内,接着输入你的联系地址、电话等信息后,提交申请。

接收证书
等待认证机构VeriSign, Inc公司(或者其它认证机构)发给你的邮件。邮件内含有安全认证代码。

安装证书
用文本编辑器把认证机构VeriSign, Inc公司(或者其它认证机构)发给你的邮件中---BEGIN CERTIFICATE---前面的内容和---END CERTIFICATE---后面的内容删去,存在某个后缀是der文件里(例如:cert.der)。
在Oracle Web Server里创建443(缺省的https)端口或者其它端口
进入443 Lisenter Configure里选Security,配置Secure Sockets Layer
Cert Label t1 /* 证书标签,任意输入一字符串 */

Cert File /ORACLE_HOME/cert.der / * 证书存放的物理路径 */

Dist Name File /ORACLE_HOME/certreq.pkc /* 认证请求文件存放的物理路径 */

Private Key File /ORACLE_HOME/privkey.der /* 私人密匙存放