PHPki

PHPki是一个基于开放源码Web的应用程序,用来管理遵守HIPAA的多代理"公钥基础结构"。它可以用于创建X.509数字证书,并主要为支持S/MIME的电子邮件客户端管理X.509数字证书。


来源:http://sourceforge.net/projects/phpki/

开启 Openssl 和 short_open_tag = On

windows xp 中需要替换setup.php的几个语句

$store_perms=0770;

$store_perms=0777;

if (! $store_dir) $store_dir = dirname($_SERVER['DOCUMENT_ROOT']).'/phpki-store';

if (! $store_dir) $store_dir = $_SERVER['DOCUMENT_ROOT'].'/phpki-store';

==================================================

# Who does the webserver run as (apache,www-data,etc)?

$uid          = posix_getuid();

$pwdinfo      = posix_getpwuid($uid);

$uname        = $pwdinfo['name'];

==================================================

$uname        = 'apache';

==================================================

$cmd = "openssl dhparam -rand '$config[random]' -out '$config[private_dir]/dhparam1024.pem' 1024";

==================================================

$cmd = "$openssl_bin dhparam -rand $config[random] -out $config[private_dir]/dhparam512.pem 512";

==================================================

if (! symlink('main.php','index.php')) print "Can't symlink main.php";

if (! symlink('main.php','ca/index.php')) print "Can't symlink ca/main.php";;

==================================================

if (! copy('main.php','index.php')) print "Can't symlink main.php";

if (! copy('main.php','ca/index.php')) print "Can't symlink ca/main.php";;

PHPki的更多相关文章

  1. OSX unable to write 'random state'

    openssl ca -gencrl -config ./config/openssl.cnf -out ./CA/crl/cacrl.pem -passin pass:'password' unab ...

随机推荐

  1. CentOS下安装C/C++开发工具包的最佳方式

    如果你使用的是 Fedora, Red Hat, CentOS, 或者 Scientific Linux 系统,使用下面的命令安装GNU的C/C++开发包和编译器. # yum groupinstal ...

  2. Python列表插入字典(转)

    https://blog.csdn.net/qq_29721419/article/details/70310183

  3. 携手互联网企业10巨头设VC基金

    包括小米科技.盛大集团.人人网.掌趣科技.游族网络.龙图游戏.蓝港互动.37游戏.星辉互动娱乐.博雅互动等10家知名互联网企业作为出资人(LP)的优格创投基金近日正式成立. 众所周知,伴随着移动互联网 ...

  4. java.beans.PropertyChangeListener

    import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.beans.P ...

  5. c#同步上下文SynchronizationContext学习笔记

    提供在各种同步模型中传播同步上下文的基本功能.同步上下文的工作就是确保调用在正确的线程上执行. 同步上下文的基本操作 Current 获取当前同步上下文 var context = Synchroni ...

  6. LeetCode 0、《两数相加》

    一.给定两个非空链表来表示两个非负整数.位数按照逆序方式存储,它们的每个节点只存储单个数字.将两数相加返回一个新的链表. 你可以假设除了数字 0 之外,这两个数字都不会以零开头. 示例: 输入:(2 ...

  7. Maven学习总结(20)——Maven pom.xml配置再体会

    Maven的pom.xml配置文件详解 <!--父项目的坐标.如果项目中没有规定某个元素的值,那么父项目中的对应值即为项目的默认值. 坐标包括group ID,artifact ID和 vers ...

  8. jquery05 继承

    <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content ...

  9. ajax ---- json 和 xml 区别

    2.XML和JSON优缺点 (1).XML的优缺点<1>.XML的优点 A.格式统一,符合标准: B.容易与其他系统进行远程交互,数据共享比较方便.<2>.XML的缺点 A.X ...

  10. SortedDictionary<TKey, TValue> 类 表示根据键进行排序的键/值对的集合。

    SortedDictionary<TKey, TValue> 类   表示根据键进行排序的键/值对的集合. SortedDictionary<TKey, TValue> 中的每 ...