[
https://issues.apache.org/jira/browse/AMBARI-17908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399374#comment-15399374
]
Hudson commented on AMBARI-17908:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #5413 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5413/])
AMBARI-17908. Ensure the supplied hostname is a valid hostname when (rlevas:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ad24dda214d189fd325f1c555b1b631c4b896ee8])
*
ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java
* ambari-server/src/test/java/org/apache/ambari/server/utils/HostUtilsTest.java
* ambari-server/src/main/java/org/apache/ambari/server/utils/HostUtils.java
*
ambari-server/src/test/java/org/apache/ambari/server/security/CertificateManagerTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/security/CertificateManager.java
*
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
> Ensure the supplied hostname is a valid hostname when signing agent-side host
> certs
> -----------------------------------------------------------------------------------
>
> Key: AMBARI-17908
> URL: https://issues.apache.org/jira/browse/AMBARI-17908
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 1.2.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Fix For: 2.4.0
>
> Attachments: AMBARI-17908_branch-2.4_01.patch,
> AMBARI-17908_trunk_01.patch
>
>
> Ensure the supplied hostname is a valid hostname when signing agent-side host
> certs via the following REST API call:
> {noformat}
> POST /certs/:HOSTNAME
> {noformat}
> This is a validity check to make sure only valid hostname are handled.
> The following industry accepted regular expression maybe use to validate
> hostnames:
> {noformat}
> ^(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-\_]*[a-zA-Z0-9])\.)*(?:[A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-\_]*[A-Za-z0-9])$
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)