This repository has been archived by the owner on Feb 25, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from n8whnp/master
Implement SSL Install Support for Plesk 17.8+ CORE-12440
- Loading branch information
Showing
7 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
// Copyright 1999-2016. Parallels IP Holdings GmbH. | ||
// @codingStandardsIgnoreLine | ||
class Plesk_Manager_V1670 extends Plesk_Manager_V1660 | ||
{ | ||
/** | ||
* @param $params | ||
* @return string | ||
*/ | ||
// @codingStandardsIgnoreLine | ||
protected function _generateCSR($params) | ||
{ | ||
return parent::_generateCSR($params); | ||
} | ||
|
||
/** | ||
* @param $params | ||
* @return string | ||
*/ | ||
// @codingStandardsIgnoreLine | ||
protected function _installSsl($params) | ||
{ | ||
return parent::_installSsl($params); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<certificate> | ||
<generate> | ||
<info> | ||
<bits>2048</bits> | ||
<country><?php echo $params['country']; ?></country> | ||
<state><?php echo $params['state']; ?></state> | ||
<location><?php echo $params['city']; ?></location> | ||
<company><?php echo $params['orgname']; ?></company> | ||
<email><?php echo $params['email']; ?></email> | ||
<name><?php echo $params['domain']; ?></name> | ||
</info> | ||
</generate> | ||
</certificate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<certificate> | ||
<install> | ||
<name><?php echo $params['certificateDomain']; ?></name> | ||
<webspace><?php echo $params['domain']; ?></webspace> | ||
<content> | ||
<csr><?php echo $params['csr']; ?></csr> | ||
<pvt><?php echo $params['key']; ?></pvt> | ||
<cert><?php echo $params['certificate']; ?></cert> | ||
</content> | ||
</install> | ||
</certificate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Copyright 1999-2016. Parallels IP Holdings GmbH. --> | ||
<customer> | ||
<get> | ||
<filter> | ||
<external-id><?php echo $externalId; ?></external-id> | ||
</filter> | ||
<dataset> | ||
<gen_info/> | ||
</dataset> | ||
</get> | ||
</customer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Copyright 1999-2016. Parallels IP Holdings GmbH. --> | ||
<customer> | ||
<get> | ||
<filter> | ||
<login><?php echo $login; ?></login> | ||
</filter> | ||
<dataset> | ||
<gen_info/> | ||
</dataset> | ||
</get> | ||
</customer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Copyright 1999-2016. Parallels IP Holdings GmbH. --> | ||
<reseller> | ||
<get> | ||
<filter> | ||
<external-id><?php echo $externalId; ?></external-id> | ||
</filter> | ||
<dataset> | ||
<gen-info/> | ||
</dataset> | ||
</get> | ||
</reseller> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Copyright 1999-2016. Parallels IP Holdings GmbH. --> | ||
<reseller> | ||
<get> | ||
<filter> | ||
<login><?php echo $login; ?></login> | ||
</filter> | ||
<dataset> | ||
<gen-info/> | ||
</dataset> | ||
</get> | ||
</reseller> |