質問編集履歴

5

a

2018/08/04 02:08

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
@@ -102,8 +102,8 @@
102
102
 
103
103
 
104
104
 
105
- それと、ブラウザからアクセスする際、hppts付けても付けなくても同じでした。
105
+ それと、ブラウザからアクセスする際、https付けても付けなくても同じでした。
106
106
 
107
107
  ・172.22.22.22:3000
108
108
 
109
- ・hppts://172.22.22.22:3000
109
+ ・https://172.22.22.22:3000

4

補足

2018/08/04 02:08

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
@@ -89,3 +89,21 @@
89
89
  2018/08/02 補足
90
90
 
91
91
  CentOS7は、Windows10のHyper-V上でゲストとして起動してます。
92
+
93
+
94
+
95
+ 2018/08/03 補足
96
+
97
+ ホスト名を指定する箇所を、ポート指定を有り無し両パターンで試しましたが同じでした。
98
+
99
+ ・172.22.22.22
100
+
101
+ ・172.22.22.22:3000
102
+
103
+
104
+
105
+ それと、ブラウザからアクセスする際、hppts付けても付けなくても同じでした。
106
+
107
+ ・172.22.22.22:3000
108
+
109
+ ・hppts://172.22.22.22:3000

3

2018/08/03 00:47

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
@@ -86,6 +86,6 @@
86
86
 
87
87
 
88
88
 
89
- 20185/08/02 補足
89
+ 2018/08/02 補足
90
90
 
91
91
  CentOS7は、Windows10のHyper-V上でゲストとして起動してます。

2

補足

2018/08/02 01:43

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
@@ -83,3 +83,9 @@
83
83
  どこか確認すべき箇所はないでしょうか?
84
84
 
85
85
  宜しくお願い致します。
86
+
87
+
88
+
89
+ 20185/08/02 補足
90
+
91
+ CentOS7は、Windows10のHyper-V上でゲストとして起動してます。

1

2018/08/02 00:32

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  [Apache httpd 2.2 に HTTPS (SSL/TLS) の設定をする (CentOS 6)](https://weblabo.oscasierra.net/apache-httpd22-ssl-centos6/)
22
22
 
23
- 1.秘密鍵、SSL証明を作成
23
+ 1.秘密鍵(server.key)、SSL証明(server.crt)を作成
24
24
 
25
25
  2./etc/httpd/conf/ssl/にserver.crtとserver.keyを配置
26
26
 
@@ -46,20 +46,40 @@
46
46
 
47
47
 
48
48
 
49
- 実際には、172.22.22.22:3000
49
+ railsアプリには、実際には、172.22.22.22:3000
50
50
 
51
- にてアクセス。
51
+ にてアクセスします
52
+
53
+
54
+
55
+ /etc/httpd/conf.d/ssl.conf
56
+
57
+ は、以下の2行だけ編集しました。
58
+
59
+
60
+
61
+ ```conf
62
+
63
+
64
+
65
+ SSLCertificateFile /etc/httpd/conf/ssl/server.crt
66
+
67
+
68
+
69
+ SSLCertificateKeyFile /etc/httpd/conf/ssl/server.key
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ ```
78
+
79
+
52
80
 
53
81
 
54
82
 
55
83
  どこか確認すべき箇所はないでしょうか?
56
84
 
57
-
58
-
59
- /etc/httpd/conf.d/ssl.conf
60
-
61
- ```conf
85
+ 宜しくお願い致します。
62
-
63
-
64
-
65
- ```