openfire oracle配置,openfire安装及ssl配置
研究了一下openfire在linux下面的安装,最后建成一个企业用的及时通讯系统,还不错。。。
可以和现有的ldap做集成,不用在新建用户了
1.下载openfire 3.3.3
2.下载 spark (客户端)
3.安装open fire
切换到root用户
rpm -ivh openfire-3.3.3-1.i386.rpm
会安装在 /opt/openfire目录
4.设置database
copy ojdbc14.jar /opt/openfire/lib
创建openfire用户
create user openfire identified by openfire;
grant connect,resouce to openfire;
执行创建数据库脚本
用openfire用户执行/opt/openfire/resources/database/openfire_oracle.sql 脚本
sqlplus openfire/openfire
@/opt/openfire/resources/database/openfire_oracle.sql
5.执行openfire,进行配置
/etc/init.d/openfire start
6.配置
(图没了??)
7.配置SSL
假设域名为 picclife.cn
cd /opt/openfire/resources/security
export PATH=/opt/openfire/jre/bin:$PATH
修改ssl keystore密码
[root@devdb01 security]# keytool -storepasswd -keystore keystore
Enter keystore password:
New keystore password:
Re-enter new keystore password:
第一次输入原来的密码 changeit
keytool -storepasswd -keystore truststore
生成证书:
keytool -genkey -keystore keystore -alias picclife.cn
[root@devdb01 security]# keytool -genkey -keystore keystore -alias picclife.cn
Enter keystore password:
What is your first and last name?
[Unknown]: wzy
What is the name of your organizational unit?
[Unknown]: picclife
What is the name of your organization?
[Unknown]: picc
What is the name of your City or Locality?
[Unknown]: bj
What is the name of your State or Province?
[Unknown]: beijing
What is the two-letter country code for this unit?
[Unknown]: cn
Is CN=wzy, OU=picclife, O=picc, L=bj, ST=beijing, C=cn correct?
[no]: yes
Enter key password for
(RETURN if same as keystore password):
删除原来的证书
keytool -delete -keystore keystore -alias rsa
keytool -delete -keystore keystore -alias dsa
设置openfire
Open the Openfire Admin Console in your favorite browser and add or change the following system properties:
xmpp.socket.ssl.active -- set to 'true' to active SSL
xmpp.socket.ssl.port -- the port to use for SSL (default is 5223 for XMPP)
xmpp.socket.ssl.storeType -- the store type used ("JKS" is the Sun Java Keystore format used by the JDK keytool). If this property is not defined, Openfire will assume a value of "jks".
xmpp.socket.ssl.keystore -- the location of the keystore file relative to your Openfire installation root directory. You can leave this property blank to use the default keystore.
xmpp.socket.ssl.keypass -- the keystore/key password you changed in step 2.
xmpp.socket.ssl.truststore -- leave blank to not use a truststore, otherwise the location of the truststore file relative to your Openfire installation root directory.
xmpp.socket.ssl.trustpass -- the truststore/key password you changed in step 6.
重启openfire。
注意事项:
要让客户端强行使用SSL,需要在服务器上面配置
客户端安全联接
非必须 - 客户端可以使用安全方式联接到服务器。
必须 - 客户端仅使用安全方式联接到服务器。
自定义 - 高级配置
然后配置spark客户端,让其使用自动发现主机和端口。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/3618/viewspace-485577/,如需转载,请注明出处,否则将追究法律责任。
openfire oracle配置,openfire安装及ssl配置相关推荐
- Oracle ODBC 驱动安装及详细配置(不需安装客户端)
Oracle ODBC 驱动安装及详细配置(不需安装客户端) 详细见百度网盘和360网盘 http://wenku.baidu.com/link?url=7hmzRoroZm2TQGwLcK4w ...
- 已安装oracle客户端odbc驱动,Oracle ODBC驱动安装和详细配置(不需安装客户端).doc
Oracle ODBC驱动安装和详细配置(不需安装客户端) 逃搐候成册娘憋致嵌阵谴抨纲携猩挞子洛捆锻戮审殖纷倔番布南袄堰谗邵淄淹糠找餐拦沁小蓝哮棺轴阐通瓜烙恕蕴俱番者沧曳岳念侯淬科虐廊鸟徽搀亲温抒边子 ...
- Apache 配置HTTPS协议搭载SSL配置
在设置Apache + SSL之前, 需要做: 安装Apache, 请参见: Windows环境下Apache的安装与虚拟目录的配置, 下载安装Apache时请下载带有ssl版本的Apache安装程序 ...
- jenkins的安装配置,插件配置,安装插件,配置maven,jdk路径,配置安装插件,项目配置,自动构建配置
1.下载jenkins,下载地址: https://jenkins.io/ 2.运行命令,启动jenkins 将jenkins上传到:/home/tuzq/software 安装JDK,maven ( ...
- wamp2 php配置,wamp安装后自定义配置的方法
WampServer是目前应用非常广泛的PHP集成开发环境,本文就来讲述Wamp安装后自定义配置的方法.供大家参考借鉴.具体如下: wamp2.5安装完毕后,自己手动重新设置了apache的默认根目录 ...
- Centos7.x下Nginx安装及SSL配置与常用命令
一.安装 采用yum方式安装 ##自动安装 yum nginx ##启动 nginx 二.SSL及默认端口配置 泛解析配置 server {listen 443;server_name *.banac ...
- oracle数据的安装,与基本配置
今天 用了 一下 oracle 数据库,与 楼主用的其他 RDBMS(关系型数据库) 有些类似. 但是 还是遇到了一些问题,这篇文章 介绍如何 安装 配置. 下一篇 介绍我项目使用oracl ...
- oracle ldap 配置,Ubuntu安装OpenLDAP之配置LDAP
Ubuntu配置OpenLDAP 上一篇博文中,我们成功的安装了OpenLDAP-2.4.4到系统中,这篇文章介绍如何基于上一篇文章配置一个自己的ldap服务器来使用.(上篇见 http://www. ...
- oracle vm virtualbox安装centos并配置Java环境
安装虚拟机 参考资料:https://opensourcedbms.com/dbms/installing-cent-os-6-3-linux-in-oracle-virtual-box-ssh-ac ...
最新文章
- BZOJ 3585: mex( 离线 + 线段树 )
- swift Sequence 和 SubSequence
- C#编译器选项(目标平台)
- 【MongoDB】Sharding分片概念及原理
- 迷宫问题 POJ - 3984
- 计算机中的补码和反码都是二进制吗,计算机中数值型数据二进制形式存储过程中的原码,反码与补码...
- EasyNVR无插件直播服务如何配合EasyBMS使用以及实现流媒体管理功能概述
- 中yeti不能加载_第二十章_类的加载过程详解
- 初探SQL Server 2008商业智能
- 星辰大海:华为用“鲲鹏+昇腾”计算双擎再出发
- split函数python 未定义_实现python 的split函数
- 排序 不用order by_Sort Techniques:介绍九种排序算法
- 使用cxf3.0.4搭建webservice服务需要的最精简jar包
- 定了!AI视觉泰斗朱松纯教授归国就任北大人工智能研究院院长
- C# 常用Excel导出的几种常见方式及实现步骤
- 小样本学习在滴滴治理和安全场景应用
- css自动换行(转载)
- 国际版抖音加群 振兴中华
- [Git] Git整理(四) git rebase 的使用
- 2012 Esri 中国开发者大会