This file is indexed.

/usr/share/zentyal/templates/ca/forceRenew.mas is in zentyal-ca 2.3.6+quantal1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<%doc>
Template used to ask for forcing the renewal of a certificate which is
currently in used by some other module.
</%doc>
<%args>
  $metaDataCert
  $expireDays
  $caPassphrase => undef
</%args>
<%init>
  use EBox::Gettext;
  # We're using a hack to show a cancel button (We can inherit from
  # formTable to do so...)
  my @forceRenewTable = (
			 [ name => 'commonName', input => 'hidden',
			   value =>
			   $metaDataCert->{dn}->attribute('commonName') ],
			 [ name => 'isCACert', input => 'hidden',
			   value => $metaDataCert->{isCACert} ],
			 [ name => 'expireDays', input => 'hidden',
			   value => $expireDays ],
			 [ name => 'renewForced', input => 'hidden',
			   value => 'true' ],
			 [ printableName => '', 
			   component => '/ca/forceRenew.mas:buttons',
			   action          => 'renew',
			   printableAction => __('Renew')

			 ],
			);

  if ( defined ( $caPassphrase )) {
      push ( @forceRenewTable, [ name => 'caPassphrase',
                                 input => 'hidden',
                                 value => $caPassphrase ],
           );
  }
</%init>
<h3>
<%perl>
if ( $metaDataCert->{isCACert} ) {
  print __("Renewing CA certificate");
} else {
  print __("Renewing certificate");
}
</%perl>
</h3>
  <div class="warning">
%   if ( $metaDataCert->{isCACert} ) {
      <% __x('This renewal can affect the functionality from other modules, please confirm you are very sure to renew the whole certification authority from {on} and leave the service(s) unstable or disabled', on => $metaDataCert->{dn}->attribute('organizationName')) %>
%   }
%   else {
      <% __x("The certificate whose common name is {cn} you tried to renew is being used by some module, please confirm you are sure to renew and leave the service(s) unstable or disabled", cn => $metaDataCert->{dn}->attribute('commonName')) %>
%   }
  </div>

  <p>
    <form action="RenewCertificate" method="post">
      <& formTable.mas, rows => \@forceRenewTable &>
    </form>
  </p>

<%method buttons>
<%doc>
The input buttons one after one
</%doc>
<%args>
  $action
  $printableAction => undef
</%args>
<%init>
  if ( not defined ( $printableAction )) {
    $printableAction = $action;
  }   
</%init>

<& /input/submit.mas, name => $action, value => $printableAction &>
<& /input/submit.mas, name => 'cancel', value => __('Cancel') &>

</%method>