Fix bugs in NG-UI charm

Change-Id: I0a17b6f1fb869cadfb9f35e14b5d64f9e9ffd3c9
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/installers/charm/ng-ui/metadata.yaml b/installers/charm/ng-ui/metadata.yaml
index db13ba6..b096635 100644
--- a/installers/charm/ng-ui/metadata.yaml
+++ b/installers/charm/ng-ui/metadata.yaml
@@ -11,6 +11,7 @@
 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
+
 name: ng-ui
 summary: A Next Generation UI charm for Opensource MANO
 description: |
@@ -21,6 +22,13 @@
 deployment:
   type: stateless
   service: cluster
-provides:
+requires:
   nbi:
     interface: osm-nbi
+resources:
+  ssl_certificate:
+    type: file
+    filename: ssl_certificate.crt
+  ssl_certificate_key:
+    type: file
+    filename: ssl_certificate.key
\ No newline at end of file