Subversion Repositories vnag

Rev

Rev 4 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 33
Line 1... Line 1...
1
#!/usr/bin/php
1
#!/usr/bin/php
2
<?php
2
<?php
3
 
3
 
-
 
4
/*
-
 
5
 * VNag - Nagios Framework for PHP
-
 
6
 * Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com>
-
 
7
 * Licensed under the terms of the Apache 2.0 license
-
 
8
 *
-
 
9
 * Revision 2018-11-06
-
 
10
 */
-
 
11
 
4
// Generate keypair with:
12
// Generate keypair with:
5
//	openssl genpkey -algorithm RSA -out private.pem -pkeyopt rsa_keygen_bits:8192
13
//	openssl genpkey -algorithm RSA -out private.pem -pkeyopt rsa_keygen_bits:8192
6
//	openssl rsa -pubout -in private.pem -out public.pem
14
//	openssl rsa -pubout -in private.pem -out public.pem
7
 
15
 
8
if ($argc < 2) {
16
if ($argc < 2) {