Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
PHPki
(view source)
Revision as of 17:54, 16 March 2009
18 bytes added
,
17:54, 16 March 2009
→Migrate Certificates from OpenVPN-Bridge contrib
Line 65:
Line 65:
{{Warning box|Of course, take some time to read this script before runing it as root.}}
{{Warning box|Of course, take some time to read this script before runing it as root.}}
+
#!/bin/bash
#!/bin/bash
Line 160:
Line 161:
-e "s/config\['country'\].*/config\['country'\] = '$COUNTRY';/" \
-e "s/config\['country'\].*/config\['country'\] = '$COUNTRY';/" \
-e "s/config\['common_name'\].*/config\['common_name'\] = '$CACN';/" \
-e "s/config\['common_name'\].*/config\['common_name'\] = '$CACN';/" \
−
-e "s/config\['ca_pwd'\].*/config\['ca_pwd'\] = '';/" \
+
-e "s/config\['ca_pwd'\].*/config\['ca_pwd'\] =
<nowiki>
''
</nowiki>
;/" \
-e "s/config\['keysize'\].*/config\['keysize'\] = '$KEYSIZE';/" \
-e "s/config\['keysize'\].*/config\['keysize'\] = '$KEYSIZE';/" \
/opt/phpki/phpki-store/config/config.php.$TIME \
/opt/phpki/phpki-store/config/config.php.$TIME \
VIP-ire
Bureaucrats
,
Administrators
665
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search